map: Fix inverted 'map security check enable' CLI flag.

Type: fix
Fixes: 5a2e278a09726be627b8310e03f0522d60aafedf

Change-Id: Ibdc2f0be44e382bfa4a8f3e16be8d6239d7a0ec1
Signed-off-by: Jon Loeliger <jdl@netgate.com>
(cherry picked from commit acaa04a22dd8bade2eca944ddd8517961433a34f)
This commit is contained in:
Jon Loeliger
2019-11-26 13:47:49 -06:00
committed by Dave Wallace
parent 8658b077ae
commit cd3a7c9646

View File

@ -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"))