diff options
author | paulo <paul@bayleaf.org.uk> | 2010-02-01 17:19:12 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2010-02-01 17:19:12 +0000 |
commit | b5be77ccc56a4345fd18c97f2daa7cf4342a2438 (patch) | |
tree | 12226fed6fea36de8c6d484439960c919c4642d1 /bgpd/bgp_main.c | |
parent | 6e75be0d8cb3810692b78292f827b58f69a4c67c (diff) | |
download | quagga-b5be77ccc56a4345fd18c97f2daa7cf4342a2438.tar.bz2 quagga-b5be77ccc56a4345fd18c97f2daa7cf4342a2438.tar.xz |
Use session->notification instead of peer's. Fix HUP - race condition.
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 7aed87cc..05868896 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -203,6 +203,7 @@ sighup (void) zlog_info ("bgpd restarting!"); /* Reload config file. */ + vty_reset(); vty_read_config (config_file, config_default); /* Create VTY's socket */ @@ -652,7 +653,7 @@ sighup_action(mqueue_block mqb, mqb_flag_t flag) { if (flag == mqb_action) { - bgp_terminate (0, 0); /* send notfies */ + bgp_terminate (0, 0); /* send notifies */ bgp_reset (); } |