summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_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 /ospf6d/ospf6_main.c
parentbb85d700d564ef836af88c9d17190c2c39b93e21 (diff)
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 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 6c994189ee..b4d2cbe8d3 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -116,8 +116,7 @@ ospf6_exit (int status)
if (master)
thread_master_free (master);
- if (zlog_default)
- closezlog (zlog_default);
+ closezlog ();
exit (status);
}