From e26bbebaddd76e2002df675d76531c5ce851a4b0 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 25 May 2003 21:39:29 +0000 Subject: ospf6d part of 6Wind patch. --- ospf6d/ospf6_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ospf6d/ospf6_main.c') diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 3f3d5508..10203bf8 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -283,10 +283,10 @@ main (int argc, char *argv[], char *envp[]) if (! daemon_mode) flag = ZLOG_STDOUT; else - flag = 0; + flag = ZLOG_NOLOG; zlog_default = openzlog (progname, flag, ZLOG_OSPF6, - LOG_CONS|LOG_NDELAY|LOG_PERROR|LOG_PID, + LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); signal_init (); cmd_init (1); @@ -315,9 +315,11 @@ main (int argc, char *argv[], char *envp[]) /* Make ospf vty socket. */ vty_serv_sock (vty_addr, vty_port, OSPF6_VTYSH_PATH); +#ifdef DEBUG /* Print start message */ zlog_notice ("OSPF6d (Zebra-%s ospf6d-%s) starts", ZEBRA_VERSION, OSPF6_DAEMON_VERSION); +#endif /* Start finite state machine, here we go! */ while (thread_fetch (master, &thread)) -- cgit v1.2.1