diff options
Diffstat (limited to 'vrrpd/vrrp_main.c')
-rw-r--r-- | vrrpd/vrrp_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vrrpd/vrrp_main.c b/vrrpd/vrrp_main.c index 7bb3f0540..95b3cfad8 100644 --- a/vrrpd/vrrp_main.c +++ b/vrrpd/vrrp_main.c @@ -33,6 +33,7 @@ #include "lib/sigevent.h" #include "lib/thread.h" #include "lib/vrf.h" +#include "lib/vty.h" #include "vrrp.h" #include "vrrp_debug.h" @@ -64,10 +65,14 @@ struct option longopts[] = { {0} }; /* Master of threads. */ struct thread_master *master; +static struct frr_daemon_info vrrpd_di; + /* SIGHUP handler. */ static void sighup(void) { zlog_info("SIGHUP received"); + + vty_read_config(NULL, vrrpd_di.config_file, config_default); } /* SIGINT / SIGTERM handler. */ |