]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: remove unncessary check for evpn
authoranlan_cs <vic.lan@pica8.com>
Wed, 11 May 2022 01:48:50 +0000 (21:48 -0400)
committeranlan_cs <vic.lan@pica8.com>
Wed, 11 May 2022 02:21:32 +0000 (22:21 -0400)
commitcabddbf5f65bb833cca72dce25e8684731422476
treee67cf798de5dd8c7228c44a0533d33023e2925ba
parent026f28e8caf9c37c851ad7b649e8439e0baf9588
bgpd: remove unncessary check for evpn

In current code, `build_evpn_type2_prefix()` doesn't distinguish ARP
according to the `ip` parameter. The `ip` parameter from caller is
always non-NULL.

Be consistent and not confused, just remove the unnecessary check.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn_private.h