diff options
Diffstat (limited to 'pimd')
| -rw-r--r-- | pimd/pim_main.c | 4 | ||||
| -rw-r--r-- | pimd/pim_nb_config.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c index 70c233848a..96132c4425 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -21,7 +21,7 @@ #include "log.h" #include "privs.h" -#include "version.h" +#include "lib/version.h" #include <getopt.h> #include "command.h" #include "thread.h" @@ -32,7 +32,7 @@ #include "filter.h" #include "vty.h" #include "sigevent.h" -#include "version.h" +#include "lib/version.h" #include "prefix.h" #include "plist.h" #include "vrf.h" diff --git a/pimd/pim_nb_config.c b/pimd/pim_nb_config.c index 475e393cf0..f64adc6254 100644 --- a/pimd/pim_nb_config.c +++ b/pimd/pim_nb_config.c @@ -755,18 +755,14 @@ int pim_join_prune_interval_modify(struct nb_cb_modify_args *args) */ int pim_register_suppress_time_modify(struct nb_cb_modify_args *args) { - struct vrf *vrf; - struct pim_instance *pim; - switch (args->event) { case NB_EV_VALIDATE: case NB_EV_PREPARE: case NB_EV_ABORT: break; case NB_EV_APPLY: - vrf = nb_running_get_entry(args->dnode, NULL, true); - pim = vrf->info; - pim->keep_alive_time = yang_dnode_get_uint16(args->dnode, NULL); + router->register_suppress_time = + yang_dnode_get_uint16(args->dnode, NULL); break; } |
