summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-04-16 12:01:09 -0400
committerGitHub <noreply@github.com>2019-04-16 12:01:09 -0400
commitce3c7c2f782e6329d8824f3db6097324839094bd (patch)
treeaf4d4e2f20ff683fa8305c51a083f3dea0a02682 /lib/debug.c
parentc74fea17c20c6b62504d9acc1825376c6aad5d36 (diff)
parent9eb2c0a1dc80c2693f3290df85e04dbe58f7575d (diff)
Merge pull request #4132 from opensourcerouting/northbound-debug
lib: add fine-grained debugging in the northbound
Diffstat (limited to 'lib/debug.c')
-rw-r--r--lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.c b/lib/debug.c
index 0bacf9789c..72fd4648ee 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -28,7 +28,7 @@ static const struct debug_callbacks *callbacks;
DEFUN_NOSH(debug_all, debug_all_cmd, "[no] debug all",
NO_STR DEBUG_STR "Toggle all debugging output\n")
{
- bool set = strmatch(argv[0]->text, "no");
+ bool set = !strmatch(argv[0]->text, "no");
uint32_t mode = DEBUG_NODE2MODE(vty->node);
if (callbacks->debug_set_all)