]> git.puffer.fish Git - mirror/frr.git/commitdiff
Revert "bgpd: fix SA warnings in bgp northbound"
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 13 May 2021 23:12:55 +0000 (02:12 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 3 Aug 2021 20:36:31 +0000 (23:36 +0300)
This reverts commit 082de39e7155e958416564f65286d4b57434ce4a.

bgpd/bgp_nb_config.c

index c0339b34c0e53b80e3d226d7d4d75821d56ec756..137eb2f6af4d0f39b2549fd866e1b67eaafe3b56 100644 (file)
@@ -291,6 +291,9 @@ int bgp_global_confederation_identifier_modify(struct nb_cb_modify_args *args)
                break;
        }
 
+       as = yang_dnode_get_uint32(args->dnode, NULL);
+
+
        return NB_OK;
 }
 
@@ -1376,6 +1379,7 @@ 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) {
@@ -1417,6 +1421,7 @@ 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) {