X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fodp-execute.c;h=096c113faf4f6e9ffdbdb68608ce93c662168b69;hb=fa5b8c6724f3fdfd290c414ec194c8948e57e775;hp=5b77fa9a925714b24132bd81e6a9619897a3ceca;hpb=758c456df570a1af1d9e913d50a3478785663e66;p=sliver-openvswitch.git diff --git a/lib/odp-execute.c b/lib/odp-execute.c index 5b77fa9a9..096c113fa 100644 --- a/lib/odp-execute.c +++ b/lib/odp-execute.c @@ -205,7 +205,7 @@ odp_execute_actions__(void *dp, struct ofpbuf *packet, struct pkt_metadata *md, case OVS_ACTION_ATTR_PUSH_VLAN: { const struct ovs_action_push_vlan *vlan = nl_attr_get(a); - eth_push_vlan(packet, vlan->vlan_tci); + eth_push_vlan(packet, htons(ETH_TYPE_VLAN), vlan->vlan_tci); break; }