diff --git a/pimd/pim_nb_config.c b/pimd/pim_nb_config.c index 30d84710e667..be05b69401e4 100644 --- a/pimd/pim_nb_config.c +++ b/pimd/pim_nb_config.c @@ -1633,7 +1633,7 @@ int lib_interface_pim_address_family_hello_interval_modify( ifp = nb_running_get_entry(args->dnode, NULL, true); pim_ifp = ifp->info; pim_ifp->pim_hello_period = - yang_dnode_get_uint8(args->dnode, NULL); + yang_dnode_get_uint16(args->dnode, NULL); pim_ifp->pim_default_holdtime = -1; break; } diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang index 105dab895da5..e9b3f675073d 100644 --- a/yang/frr-pim.yang +++ b/yang/frr-pim.yang @@ -343,7 +343,7 @@ module frr-pim { } leaf hello-interval { - type uint8 { + type uint16 { range "1..max"; } default "30";