mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:34:51 +00:00
eigrpd: implement configuration reload
Reload configuration on SIGHUP using the northbound. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
f25c244b75
commit
3e9759686c
@ -90,10 +90,16 @@ struct option longopts[] = {{0}};
|
||||
/* Master of threads. */
|
||||
struct thread_master *master;
|
||||
|
||||
/* Forward declaration of daemon info structure. */
|
||||
static struct frr_daemon_info eigrpd_di;
|
||||
|
||||
/* SIGHUP handler. */
|
||||
static void sighup(void)
|
||||
{
|
||||
zlog_info("SIGHUP received");
|
||||
|
||||
/* Reload config file. */
|
||||
vty_read_config(NULL, eigrpd_di.config_file, config_default);
|
||||
}
|
||||
|
||||
/* SIGINT / SIGTERM handler. */
|
||||
|
Loading…
Reference in New Issue
Block a user