summaryrefslogtreecommitdiffstats
path: root/lib/grammar_sandbox_main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2016-02-23 12:38:23 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 00:15:40 +0100
commitbf1013e6c4e05ba48e5b35192000123becdf426d (patch)
treea20c87261562f02f648eddbd59ea568b6815273e /lib/grammar_sandbox_main.c
parentlib: ditch struct zlog * argument on zlog/vzlog() (diff)
downloadfrr-bf1013e6c4e05ba48e5b35192000123becdf426d.tar.xz
frr-bf1013e6c4e05ba48e5b35192000123becdf426d.zip
lib: simplify protocol/log naming
The protocols enum serves no purpose other than adding potential for bugs and making it complicated to add a new protocol... nuke. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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 5deef406c..fa925c464 100644
--- a/lib/grammar_sandbox_main.c
+++ b/lib/grammar_sandbox_main.c
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
master = thread_master_create ();
- zlog_default = openzlog ("grammar_sandbox", ZLOG_NONE, 0,
+ openzlog ("grammar_sandbox", "NONE", 0,
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
zlog_set_level (NULL, ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
zlog_set_level (NULL, ZLOG_DEST_STDOUT, LOG_DEBUG);