X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fbond.c;h=b4d9487b32f4a28791c3786e0fe713eeca130037;hb=1bf02876a46e3e86a59f959fdac57db7f6b0a4ad;hp=a651d8d2d53da28cc04d8e844ce892b43bfec6f6;hpb=bfd3367b9e7426ffc931c9b0d010d8b1b5884ec2;p=sliver-openvswitch.git diff --git a/ofproto/bond.c b/ofproto/bond.c index a651d8d2d..b4d9487b3 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -541,7 +541,7 @@ bond_compose_learning_packet(struct bond *bond, packet = ofpbuf_new(0); compose_rarp(packet, eth_src); if (vlan) { - eth_push_vlan(packet, htons(vlan)); + eth_push_vlan(packet, htons(ETH_TYPE_VLAN), htons(vlan)); } *port_aux = slave->aux;