Skip to content

Commit

Permalink
Merge pull request FRRouting#14299 from SaiGomathiN/14286
Browse files Browse the repository at this point in the history
pimd,pim6d: Resolving the YANG datatype Inconsistency for PIM Hello Interval
  • Loading branch information
riw777 authored Sep 19, 2023
2 parents 7e1eb2a + dd1e34e commit e7f0bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pimd/pim_nb_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion yang/frr-pim.yang
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ module frr-pim {
}

leaf hello-interval {
type uint8 {
type uint16 {
range "1..max";
}
default "30";
Expand Down

0 comments on commit e7f0bbb

Please sign in to comment.