diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2015-09-17 10:15:59 -0400 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-09-24 15:26:46 +0100 |
commit | 1994dc81458d646120659b543ad7ffc023cd8579 (patch) | |
tree | ee6179d70112a20038568a95dfa7e526dd7de8c9 /pimd/pim_cmd.c | |
parent | c8394ace7081ef0e71f3d162067c83c2629fc088 (diff) | |
download | quagga-1994dc81458d646120659b543ad7ffc023cd8579.tar.bz2 quagga-1994dc81458d646120659b543ad7ffc023cd8579.tar.xz |
bgpd: If route-map does not exist DENY for redistribute statements
Upon usage of a route-map statement in bgp, if the route-map does not exist
it turns into a implicit ALLOW, this causes issues in a wide variety
of scenarios.
Without this fix:
!
router bgp 100
bgp router-id 10.0.2.15
redistribute static route-map FOOEY
!
ip route 33.33.33.33/32 eth1
ip route 44.44.44.44/32 eth1
!
Now look at show ip bgp:
show ip bgp:
Network Next Hop Metric LocPrf Weight Path
*> 33.33.33.33/32 0.0.0.0 0 32768 ?
*> 44.44.44.44/32 0.0.0.0 0 32768 ?
With this fix:
show ip bgp:
Network Next Hop Metric LocPrf Weight Path
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com
Diffstat (limited to 'pimd/pim_cmd.c')
0 files changed, 0 insertions, 0 deletions