]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix missing rmac value in debug
authoranlan_cs <vic.lan@pica8.com>
Fri, 8 Jul 2022 04:09:56 +0000 (00:09 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 8 Jul 2022 19:16:51 +0000 (19:16 +0000)
commite9f4e8224ed288cba001be1fc6a9587410612b72
tree0ef924f54105ce85c1f096fce14cfcec8d8c8f86
parent56afa2a19723fb84fa64d5e65eddf020012ebcb4
bgpd: fix missing rmac value in debug

`attr.rmac` is not set in debug as expected for its wrong place in code.

Just move the debug process (`bgp_debug_zebra(NULL)`) after possible `rmac`
value is set.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
(cherry picked from commit 2304139a62c667cad734becc43ace87826be397e)
bgpd/bgp_evpn.c