aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/flow/flow_cli.c
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2020-12-08 00:42:43 +0800
committerDamjan Marion <dmarion@me.com>2021-04-14 10:26:07 +0000
commit91f102ed84dac1591e08587facf71dc386b7c087 (patch)
treeee53d1437847056ac902423978cb4ad597338d2d /src/vnet/flow/flow_cli.c
parent6e9b0030d72c58d14cebcb0290fedcc25556749d (diff)
flow: The type of vni in VxLAN flow should be u32
Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I40732dfb4fee4a5cfd699a8badea13d070f6b367
Diffstat (limited to 'src/vnet/flow/flow_cli.c')
-rw-r--r--src/vnet/flow/flow_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/flow/flow_cli.c b/src/vnet/flow/flow_cli.c
index aea2534ec1a..e2a3141c551 100644
--- a/src/vnet/flow/flow_cli.c
+++ b/src/vnet/flow/flow_cli.c
@@ -353,7 +353,7 @@ test_flow (vlib_main_t * vm, unformat_input_t * input,
u32 hw_if_index = ~0, flow_index = ~0;
int rv;
u32 teid = 0, session_id = 0, spi = 0;
- u16 vni = 0;
+ u32 vni = 0;
vnet_flow_type_t type = VNET_FLOW_TYPE_UNKNOWN;
ip4_address_and_mask_t ip4s = { };
ip4_address_and_mask_t ip4d = { };