Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c298f37
)
map: Fix inverted 'map security check enable' CLI flag.
46/23646/1
author
Jon Loeliger
<jdl@netgate.com>
Tue, 26 Nov 2019 19:47:49 +0000
(13:47 -0600)
committer
Jon Loeliger
<jdl@netgate.com>
Tue, 26 Nov 2019 19:47:49 +0000
(13:47 -0600)
Type: fix
Fixes:
5a2e278a09726be627b8310e03f0522d60aafedf
Change-Id: Ibdc2f0be44e382bfa4a8f3e16be8d6239d7a0ec1
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/plugins/map/map.c
patch
|
blob
|
history
diff --git
a/src/plugins/map/map.c
b/src/plugins/map/map.c
index
7225fc6
..
54b3612
100644
(file)
--- a/
src/plugins/map/map.c
+++ b/
src/plugins/map/map.c
@@
-456,12
+456,12
@@
map_security_check_command_fn (vlib_main_t * vm,
{
if (unformat (line_input, "enable"))
{
- enable =
fals
e;
+ enable =
tru
e;
saw_enable = true;
}
else if (unformat (line_input, "disable"))
{
- enable =
tru
e;
+ enable =
fals
e;
saw_enable = true;
}
else if (unformat (line_input, "fragments on"))