diff options
Diffstat (limited to 'vnet/vnet/vxlan/encap.c')
-rw-r--r-- | vnet/vnet/vxlan/encap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/vxlan/encap.c b/vnet/vnet/vxlan/encap.c index dfa3bf7707c..90854ad097e 100644 --- a/vnet/vnet/vxlan/encap.c +++ b/vnet/vnet/vxlan/encap.c @@ -246,7 +246,7 @@ vxlan_encap (vlib_main_t * vm, and admin-down tunnel where packets are dropped. It is not worthwhile to check for this rare case and affect normal path performance. */ if (PREDICT_FALSE ((sw_if_index0 != stats_sw_if_index) || - (sw_if_index0 != stats_sw_if_index))) + (sw_if_index1 != stats_sw_if_index))) { stats_n_packets -= 2; stats_n_bytes -= len0 + len1; |