]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: Clean up irt a tiny bit
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 20 Mar 2018 23:19:54 +0000 (19:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 20 Mar 2018 23:19:54 +0000 (19:19 -0400)
commite066d6d0f26bc66bd3e1a63f40010f9bcd087c21
tree0d459c08e4be7c958b9150d4c653147517ff93f3
parent6e94d41057298945a7d6563be126a29be71d21f6
bgpd: Clean up irt a tiny bit

This commit does these 2 things:

1) irt->vrfs is never NULL so no need to test for it

2) No need to check for a good irt value returned from
vrf_import_rt_new as that the alloc operation will
dump if memory allocation fails.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_evpn.c