diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/flow/flow_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/flow/flow_api.c b/src/vnet/flow/flow_api.c index 4d0c536f113..3aa4e0c5b75 100644 --- a/src/vnet/flow/flow_api.c +++ b/src/vnet/flow/flow_api.c @@ -186,7 +186,7 @@ ipv4_vxlan_flow_convert (vl_api_flow_ip4_vxlan_t *vl_api_flow, port_and_mask_convert (&vl_api_flow->src_port, &f->src_port); port_and_mask_convert (&vl_api_flow->dst_port, &f->dst_port); - f->vni = ntohs (vl_api_flow->vni); + f->vni = ntohl (vl_api_flow->vni); } static inline void @@ -200,7 +200,7 @@ ipv6_vxlan_flow_convert (vl_api_flow_ip6_vxlan_t *vl_api_flow, port_and_mask_convert (&vl_api_flow->src_port, &f->src_port); port_and_mask_convert (&vl_api_flow->dst_port, &f->dst_port); - f->vni = ntohs (vl_api_flow->vni); + f->vni = ntohl (vl_api_flow->vni); } static inline void |