Merge pull request #14299 from SaiGomathiN/14286

pimd,pim6d: Resolving the YANG datatype Inconsistency for PIM Hello Interval
This commit is contained in:
Russ White 2023-09-19 11:36:04 -04:00 committed by GitHub
commit e7f0bbb198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1633,7 +1633,7 @@ int lib_interface_pim_address_family_hello_interval_modify(
ifp = nb_running_get_entry(args->dnode, NULL, true); ifp = nb_running_get_entry(args->dnode, NULL, true);
pim_ifp = ifp->info; pim_ifp = ifp->info;
pim_ifp->pim_hello_period = 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; pim_ifp->pim_default_holdtime = -1;
break; break;
} }

View File

@ -343,7 +343,7 @@ module frr-pim {
} }
leaf hello-interval { leaf hello-interval {
type uint8 { type uint16 {
range "1..max"; range "1..max";
} }
default "30"; default "30";