aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/stn/stn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/stn/stn.c')
-rw-r--r--src/plugins/stn/stn.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/stn/stn.c b/src/plugins/stn/stn.c
index b05883b239d..1447ec4759d 100644
--- a/src/plugins/stn/stn.c
+++ b/src/plugins/stn/stn.c
@@ -382,9 +382,11 @@ int stn_rule_add_del (stn_rule_add_del_args_t *args)
1, 0, 0);
vnet_feature_enable_disable("ip6-unicast", "ip6-lookup", args->sw_if_index,
1, 0, 0);
- vnet_feature_enable_disable("ip4-unicast", "ip4-drop", args->sw_if_index,
+ vnet_feature_enable_disable("ip4-unicast", "ip4-not-enabled",
+ args->sw_if_index,
0, 0, 0);
- vnet_feature_enable_disable("ip6-unicast", "ip6-drop", args->sw_if_index,
+ vnet_feature_enable_disable("ip6-unicast", "ip6-not-enabled",
+ args->sw_if_index,
0, 0, 0);
}
else if (r)