From: Jon Loeliger Date: Tue, 26 Nov 2019 19:47:49 +0000 (-0600) Subject: map: Fix inverted 'map security check enable' CLI flag. X-Git-Tag: v20.05-rc0~305 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=acaa04a22dd8bade2eca944ddd8517961433a34f;p=vpp.git map: Fix inverted 'map security check enable' CLI flag. Type: fix Fixes: 5a2e278a09726be627b8310e03f0522d60aafedf Change-Id: Ibdc2f0be44e382bfa4a8f3e16be8d6239d7a0ec1 Signed-off-by: Jon Loeliger --- 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"))