]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix vni_str NULL check in evpn rt show run 12173/head
authorStephen Worley <sworley@nvidia.com>
Fri, 21 Oct 2022 15:18:12 +0000 (11:18 -0400)
committerStephen Worley <sworley@nvidia.com>
Fri, 21 Oct 2022 15:18:12 +0000 (11:18 -0400)
commit20e81e185746ba1b222e5c30d23f81c60a96c2d9
tree14dadaa0b98ff24ac35d0eb1ff41c4e11a8488ed
parente1a14d470011dd0368c272f7763e371b725c57f6
bgpd: fix vni_str NULL check in evpn rt show run

Fix the vni_str NULL check for wildcard route-targets
in evpn show run. This will never be NULL if we add 1
here. Though it should also never be NULL since ":" should
always exist. Better to be safe than sorry.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
bgpd/bgp_evpn_vty.c