diff options
author | ajs <ajs> | 2004-12-03 16:36:46 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-03 16:36:46 +0000 |
commit | 887c44a4f3d8219dc5b1c52b5dcde1f31d52b73d (patch) | |
tree | 5c0ef5fe1d3948c56e6abf2ffd3c9811e92f0f2e /ripngd | |
parent | bec595ada58ebfa98ad49220f29ab28b58549094 (diff) |
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 'ripngd')
-rw-r--r-- | ripngd/ChangeLog | 6 | ||||
-rw-r--r-- | ripngd/ripng_main.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog index 1abea564..840f4130 100644 --- a/ripngd/ChangeLog +++ b/ripngd/ChangeLog @@ -1,3 +1,9 @@ +2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * ripng_main.c: (sighup) Remove spurious terminating message. + (sigint) Use zlog_notice for termination message. + (main) Issue a startup announcement using zlog_notice. + 2004-11-25 Hasso Tepper <hasso at quagga.net> * ripng_main.c: Make group to run as configurable. diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index df609a56..ac63abbb 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -133,7 +133,6 @@ sighup (void) zlog_info ("SIGHUP received"); ripng_clean (); ripng_reset (); - zlog_info ("Terminating on signal"); /* Reload config file. */ vty_read_config (config_file, config_default); @@ -147,7 +146,7 @@ sighup (void) void sigint (void) { - zlog_info ("Terminating on signal"); + zlog_notice ("Terminating on signal"); if (! retain_mode) ripng_clean (); @@ -292,6 +291,9 @@ main (int argc, char **argv) /* Process id file create. */ pid_output (pid_file); + /* Print banner. */ + zlog_notice ("RIPNGd %s starting: vty@%d", QUAGGA_VERSION, vty_port); + /* Fetch next active thread. */ while (thread_fetch (master, &thread)) thread_call (&thread); |