]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: fix populating the attribute
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 19 Jan 2022 20:02:11 +0000 (23:02 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 19 Jan 2022 20:02:11 +0000 (23:02 +0300)
commitb04c1e9997d6990e2664477da384566bf876a1ac
treea055f56426286c7c0db5d9fadbbde54763f3d0dd
parent8f2661b01d7356d53f4ebcccf830407b4c91461f
bgpd: fix populating the attribute

This code is populating a temporary variable `add` instead of the attr.
Initially this variable was later copied to the attr but the copying was
erroneously deleted by 0a50c2481. Directly populate the attr to restore
the correct behavior.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_route.c