Signed-off-by: Sarita Patra <saritap@vmware.com>
*/
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;
}