mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 21:37:08 +00:00
Merge pull request #7246 from mjstapp/fix_bgp_nb_sa
bgpd: fix SA warnings in bgp northbound
This commit is contained in:
commit
90c815bc99
@ -288,9 +288,6 @@ int bgp_global_confederation_identifier_modify(struct nb_cb_modify_args *args)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
as = yang_dnode_get_uint32(args->dnode, NULL);
|
|
||||||
|
|
||||||
|
|
||||||
return NB_OK;
|
return NB_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1381,7 +1378,6 @@ int bgp_global_global_config_timers_hold_time_modify(
|
|||||||
|
|
||||||
switch (args->event) {
|
switch (args->event) {
|
||||||
case NB_EV_VALIDATE:
|
case NB_EV_VALIDATE:
|
||||||
keepalive = yang_dnode_get_uint16(args->dnode, "../keepalive");
|
|
||||||
holdtime = yang_dnode_get_uint16(args->dnode, NULL);
|
holdtime = yang_dnode_get_uint16(args->dnode, NULL);
|
||||||
/* Holdtime value check. */
|
/* Holdtime value check. */
|
||||||
if (holdtime < 3 && holdtime != 0) {
|
if (holdtime < 3 && holdtime != 0) {
|
||||||
@ -1423,7 +1419,6 @@ int bgp_global_global_config_timers_keepalive_modify(
|
|||||||
|
|
||||||
switch (args->event) {
|
switch (args->event) {
|
||||||
case NB_EV_VALIDATE:
|
case NB_EV_VALIDATE:
|
||||||
keepalive = yang_dnode_get_uint16(args->dnode, NULL);
|
|
||||||
holdtime = yang_dnode_get_uint16(args->dnode, "../hold-time");
|
holdtime = yang_dnode_get_uint16(args->dnode, "../hold-time");
|
||||||
/* Holdtime value check. */
|
/* Holdtime value check. */
|
||||||
if (holdtime < 3 && holdtime != 0) {
|
if (holdtime < 3 && holdtime != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user