diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-04-16 12:01:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-16 12:01:09 -0400 |
| commit | ce3c7c2f782e6329d8824f3db6097324839094bd (patch) | |
| tree | af4d4e2f20ff683fa8305c51a083f3dea0a02682 /lib/debug.c | |
| parent | c74fea17c20c6b62504d9acc1825376c6aad5d36 (diff) | |
| parent | 9eb2c0a1dc80c2693f3290df85e04dbe58f7575d (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.c | 2 |
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) |
