diff options
author | David Lamparter <equinox@diac24.net> | 2016-02-23 12:38:23 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-03-08 00:15:40 +0100 |
commit | bf1013e6c4e05ba48e5b35192000123becdf426d (patch) | |
tree | a20c87261562f02f648eddbd59ea568b6815273e /zebra/test_main.c | |
parent | lib: ditch struct zlog * argument on zlog/vzlog() (diff) | |
download | frr-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 '')
-rw-r--r-- | zebra/test_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/test_main.c b/zebra/test_main.c index 43149318d..2996b4546 100644 --- a/zebra/test_main.c +++ b/zebra/test_main.c @@ -222,8 +222,7 @@ main (int argc, char **argv) /* preserve my name */ progname = ((p = strrchr (argv[0], '/')) ? ++p : argv[0]); - zlog_default = openzlog (progname, ZLOG_ZEBRA, 0, - LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); + openzlog(progname, "ZEBRA", 0, LOG_CONS | LOG_NDELAY | LOG_PID, LOG_DAEMON); while (1) { |