summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-25 21:39:29 +0000
committerhasso <hasso>2003-05-25 21:39:29 +0000
commite26bbebaddd76e2002df675d76531c5ce851a4b0 (patch)
tree8f7a94dce532e299e4ec018e57975996f6943892 /ospf6d/ospf6_main.c
parent595db7f16506d2c82a3478e9f8dab00c8733d386 (diff)
ospf6d part of 6Wind patch.
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c6
1 files changed, 4 insertions, 2 deletions
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))