X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fstn%2Fstn.c;h=1447ec4759d86dd4b07a95fe4a81cdc1ea4361e3;hb=8269d3dbe70adaae60806d5d84e35f25d23193c5;hp=b05883b239d4e282f7b7c28dec694e5f695365f2;hpb=f2a23cc8602525a325eaeaae6aca5e18882c33da;p=vpp.git 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)