summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-10-07 08:46:15 +0200
committerGitHub <noreply@github.com>2020-10-07 08:46:15 +0200
commit90c815bc996a0e40be2d7ca19b4c169637e2ea81 (patch)
tree408a794bdd06d4932e080e8bf8adc8f3ac31692e /bgpd
parentMerge pull request #7239 from opensourcerouting/bgp-aggregate-med (diff)
parentbgpd: fix SA warnings in bgp northbound (diff)
downloadfrr-90c815bc996a0e40be2d7ca19b4c169637e2ea81.tar.xz
frr-90c815bc996a0e40be2d7ca19b4c169637e2ea81.zip
Merge pull request #7246 from mjstapp/fix_bgp_nb_sa
bgpd: fix SA warnings in bgp northbound
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_nb_config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bgpd/bgp_nb_config.c b/bgpd/bgp_nb_config.c
index 8330ff57c..ba7c5714b 100644
--- a/bgpd/bgp_nb_config.c
+++ b/bgpd/bgp_nb_config.c
@@ -288,9 +288,6 @@ int bgp_global_confederation_identifier_modify(struct nb_cb_modify_args *args)
break;
}
- as = yang_dnode_get_uint32(args->dnode, NULL);
-
-
return NB_OK;
}
@@ -1381,7 +1378,6 @@ int bgp_global_global_config_timers_hold_time_modify(
switch (args->event) {
case NB_EV_VALIDATE:
- keepalive = yang_dnode_get_uint16(args->dnode, "../keepalive");
holdtime = yang_dnode_get_uint16(args->dnode, NULL);
/* Holdtime value check. */
if (holdtime < 3 && holdtime != 0) {
@@ -1423,7 +1419,6 @@ int bgp_global_global_config_timers_keepalive_modify(
switch (args->event) {
case NB_EV_VALIDATE:
- keepalive = yang_dnode_get_uint16(args->dnode, NULL);
holdtime = yang_dnode_get_uint16(args->dnode, "../hold-time");
/* Holdtime value check. */
if (holdtime < 3 && holdtime != 0) {