aboutsummaryrefslogtreecommitdiffstats
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 03:47:42 +0000
commit263245f9b42bf5eb0f0d6d0b7921ba4496c06599 (patch)
treedb02fe6dd1bc02ef82ca850324ef0416a58c0ccf
parentf510ce78a4d9606a83640a54e5bd44673373819a (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>
-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);
}