diff options
Diffstat (limited to '')
-rw-r--r-- | isisd/isis_main.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c index 40c483a0d..9126e40d4 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -107,12 +107,23 @@ static __attribute__((__noreturn__)) void terminate(int i) /* * Signal handlers */ - +#ifdef FABRICD void sighup(void) { - zlog_notice("SIGHUP/reload is not implemented for isisd"); + zlog_notice("SIGHUP/reload is not implemented for fabricd"); return; } +#else +static struct frr_daemon_info isisd_di; +void sighup(void) +{ + zlog_info("SIGHUP received"); + + /* Reload config file. */ + vty_read_config(NULL, isisd_di.config_file, config_default); +} + +#endif __attribute__((__noreturn__)) void sigint(void) { |