summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorajs <ajs>2004-12-03 16:36:46 +0000
committerajs <ajs>2004-12-03 16:36:46 +0000
commit284ebdbaffe891cfa45870d680cff55af376d638 (patch)
treec002061154803a2cfa42bf5e679e48a878632520 /zebra
parent07ec619828a6df05241a16dc1fbc3b653ac70f00 (diff)
downloadquagga-284ebdbaffe891cfa45870d680cff55af376d638.tar.bz2
quagga-284ebdbaffe891cfa45870d680cff55af376d638.tar.xz
2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* bgp_main.c: (sigint) Use zlog_notice for termination message. (main) Use zlog_notice for startup announcement. * isis_main.c: (sigint,sigterm) Use zlog_notice for termination message. (terminate) This function should be static, not global. (main) Use zlog_notice for startup announcement, and remove ifdef ZEBRA_VERSION. * version.h.in: Remove declaration for pid_output_lock, this function is now static, not global. * pid_output.c: (pid_output_lock) This function should be static, not global. And remove "old umask" error message, since it was really an unimportant debug message, not an error. (pid_output) Need to declare static function pid_output_lock. * ospf6_main.c: (sigint,sigterm) Use zlog_notice for termination message. (main) Remove commented-out call to pid_output_lock (which should never be called other than from inside pid_output). And use zlog_notice to print the startup message, which now includes the vty port. * ospf_main.c: (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * rip_main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice. * ripng_main.c: (sighup) Remove spurious terminating message. (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/main.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 71932317..c38b47de 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * main.c: (sigint) Use zlog_notice for termination message.
+ (main) Add a startup announcement using zlog_notice.
+
2004-11-25 Hasso Tepper <hasso at quagga.net>
* irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
diff --git a/zebra/main.c b/zebra/main.c
index 42e6bd14..96420da6 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -165,7 +165,7 @@ sigint (void)
/* Decrared in rib.c */
void rib_close ();
- zlog_info ("Terminating on signal");
+ zlog_notice ("Terminating on signal");
if (!retain_mode)
rib_close ();
@@ -372,6 +372,9 @@ main (int argc, char **argv)
/* Make vty server socket. */
vty_serv_sock (vty_addr, vty_port, ZEBRA_VTYSH_PATH);
+ /* Print banner. */
+ zlog_notice ("Zebra %s starting: vty@%d", QUAGGA_VERSION, vty_port);
+
while (thread_fetch (zebrad.master, &thread))
thread_call (&thread);