summaryrefslogtreecommitdiff
path: root/lib/grammar_sandbox_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-08 08:08:13 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-05-31 10:06:42 -0400
commit2950f5da55af16c8efd1ca24f714e9d69c602503 (patch)
treef0fb34f79c0dc851a405b58fa3df719f752e8368 /lib/grammar_sandbox_main.c
parent9c61cec7e3847a4b9841c7914d57c93e3387929a (diff)
lib: Add '--command-log-always` to all daemons startup
Add 'no log commands' cli and at the same time add a --command-log-always to the daemon startup cli. If --command-log-always is specified then all commands are auto-logged and the 'no log commands' form of the command is now ignored. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/grammar_sandbox_main.c')
-rw-r--r--lib/grammar_sandbox_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grammar_sandbox_main.c b/lib/grammar_sandbox_main.c
index 38494fb007..6d28a667b3 100644
--- a/lib/grammar_sandbox_main.c
+++ b/lib/grammar_sandbox_main.c
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
host.name = strdup("test");
host.domainname = strdup("testdomainname");
- vty_init(master);
+ vty_init(master, true);
memory_init();
yang_init();
nb_init(master, NULL, 0);