From acaa04a22dd8bade2eca944ddd8517961433a34f Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Tue, 26 Nov 2019 13:47:49 -0600 Subject: map: Fix inverted 'map security check enable' CLI flag. Type: fix Fixes: 5a2e278a09726be627b8310e03f0522d60aafedf Change-Id: Ibdc2f0be44e382bfa4a8f3e16be8d6239d7a0ec1 Signed-off-by: Jon Loeliger --- src/plugins/map/map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/map') 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")) -- cgit 1.2.3-korg