]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: allow advertise-subnet cmd without enabling advertise ipv4 unicast
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Tue, 20 Feb 2018 08:23:06 +0000 (00:23 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Fri, 23 Feb 2018 01:23:07 +0000 (17:23 -0800)
commitfdf19f06f2fd96513d5da7b835155bd607cf999a
tree5c99a7d53b101038eeef29dcb405376fdb744dca
parent4298f5e937a1fa689047697395f8b741fb9b3d15
bgpd: allow advertise-subnet cmd without enabling advertise ipv4 unicast

Type-5 routes can be useful in multiple scenarios such as advertise-subnet,
default-originate etc. Currently, the code has a restriction that to allow
advertising type-5 routes, user has to first enable advertise ipvX command.
This restriction is not necessary and should be removed.

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_evpn_private.h
bgpd/bgp_evpn_vty.c
bgpd/bgp_route.c