diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-04-12 18:00:05 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-04-15 12:53:54 -0300 | 
| commit | e0cade1bbc408b96a60fbbe40cd2f32aa31e73f3 (patch) | |
| tree | a9c5fe9053311e4de5abfe6bcfc2ac8f2c0912a1 /lib/debug.c | |
| parent | 45ec928f498430930b9696636b22056b0a673b44 (diff) | |
lib: fix inverted logic in the "debug all" command
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
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)  | 
