aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJunfeng Wang <drenfong.wang@intel.com>2020-07-30 11:22:29 +0800
committerJunfeng Wang <drenfong.wang@intel.com>2020-07-30 11:36:55 +0800
commit62010fe2af20db69e1b4815ea5ee62f4f31a845c (patch)
tree95ea09f050048f52a86fc1e4aa9318757e17098e /src
parent11ecf78e61442984d92d5551f83b521bc5721f87 (diff)
fix typo in vnet feature enable/disable
Signed-off-by: Zhaoqi Wang <wangzhaoqi1318@126.com> Change-Id: I7c7afad9337a0273d0b97c4d351e21b87f1b89ff Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/dpi.c4
1 files 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);
}