X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fbond.c;h=b4d9487b32f4a28791c3786e0fe713eeca130037;hb=5de43a606c949dbb74272d5b09627ddd5f64b06b;hp=a651d8d2d53da28cc04d8e844ce892b43bfec6f6;hpb=37bec3d330ed7f72b6a867728c538b49e5727dc7;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;