From 263245f9b42bf5eb0f0d6d0b7921ba4496c06599 Mon Sep 17 00:00:00 2001 From: Junfeng Wang Date: Thu, 30 Jul 2020 11:22:29 +0800 Subject: fix typo in vnet feature enable/disable Signed-off-by: Zhaoqi Wang Change-Id: I7c7afad9337a0273d0b97c4d351e21b87f1b89ff Signed-off-by: Junfeng Wang --- src/dpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dpi.c b/src/dpi.c index 6df713a..f72318b 100644 --- a/src/dpi.c +++ b/src/dpi.c @@ -595,10 +595,10 @@ void dpi_flow_offload_mode (u32 hw_if_index, u8 is_ip6, u8 is_enable) { if (is_ip6) - vnet_feature_enable_disable ("ip4-unicast", "dpi6-flow-input", + vnet_feature_enable_disable ("ip6-unicast", "dpi6-flow-input", hw_if_index, is_enable, 0, 0); else - vnet_feature_enable_disable ("ip6-unicast", "dpi4-flow-input", + vnet_feature_enable_disable ("ip4-unicast", "dpi4-flow-input", hw_if_index, is_enable, 0, 0); } -- cgit 1.2.3-korg