diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-08-06 19:38:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-06 19:38:30 -0400 |
| commit | 1825b8a216158fa0420239ff6bf73f6a07ad854e (patch) | |
| tree | 608070169a1007ba2501ddf58ed2b811b2ebeb3c /eigrpd/eigrp_main.c | |
| parent | edc245754602e8338929d5eb2f86a2fe660a8c15 (diff) | |
| parent | 3e9759686c7ac24651f925ec19fbc92384edb4bd (diff) | |
Merge pull request #4781 from opensourcerouting/eigrpd-northbound
eigrpd: migrate to northbound
Diffstat (limited to 'eigrpd/eigrp_main.c')
| -rw-r--r-- | eigrpd/eigrp_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c index 3db59a838b..1781a88173 100644 --- a/eigrpd/eigrp_main.c +++ b/eigrpd/eigrp_main.c @@ -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. */ @@ -131,6 +137,7 @@ struct quagga_signal_t eigrp_signals[] = { }; static const struct frr_yang_module_info *eigrpd_yang_modules[] = { + &frr_eigrpd_info, &frr_interface_info, }; @@ -187,7 +194,7 @@ int main(int argc, char **argv, char **envp) eigrp_vty_init(); keychain_init(); eigrp_vty_show_init(); - eigrp_vty_if_init(); + eigrp_cli_init(); #ifdef HAVE_SNMP eigrp_snmp_init(); |
