mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 20:48:27 +00:00
bgpd: Comment out dead code for future
I wanted to preserve the old code flow to see what might
be needed in the future in commit:
23ca3269da
Coverity doesn't like dead code. So let's comment it out.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
1460d1b473
commit
3130e28686
@ -133,19 +133,20 @@ void sighup(void)
|
||||
/*
|
||||
* This is turned off for the moment. There is all
|
||||
* sorts of config turned off by bgp_terminate
|
||||
* that is not setup properly again in bgp_rest.
|
||||
* that is not setup properly again in bgp_reset.
|
||||
* I see no easy way to do this nor do I see that
|
||||
* this is a desirable way to reload config
|
||||
* given the yang work.
|
||||
*/
|
||||
/* Terminate all thread. */
|
||||
bgp_terminate();
|
||||
bgp_reset();
|
||||
zlog_info("bgpd restarting!");
|
||||
|
||||
/* Reload config file. */
|
||||
vty_read_config(NULL, bgpd_di.config_file, config_default);
|
||||
/*
|
||||
* bgp_terminate();
|
||||
* bgp_reset();
|
||||
* zlog_info("bgpd restarting!");
|
||||
|
||||
* Reload config file.
|
||||
* vty_read_config(NULL, bgpd_di.config_file, config_default);
|
||||
*/
|
||||
/* Try to return to normal operation. */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user