Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improved tracing for the IP[46] not-enabled case.
[vpp.git]
/
src
/
plugins
/
stn
/
stn.c
diff --git
a/src/plugins/stn/stn.c
b/src/plugins/stn/stn.c
index
b05883b
..
1447ec4
100644
(file)
--- 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);
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);
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)
0, 0, 0);
}
else if (r)