aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/map/map.c b/src/plugins/map/map.c
index 7225fc62f81..54b3612e032 100644
--- 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 = false;
+ enable = true;
saw_enable = true;
}
else if (unformat (line_input, "disable"))
{
- enable = true;
+ enable = false;
saw_enable = true;
}
else if (unformat (line_input, "fragments on"))