From: Donald Sharp Date: Wed, 20 May 2015 01:04:24 +0000 (-0700) Subject: If the route-map used on a redistribute statement does not exists we should DENY all X-Git-Tag: frr-2.0-rc1~1387 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=91e89998d6f8bf4f80d699a4ebbe3596900c6ed6;p=matthieu%2Ffrr.git If the route-map used on a redistribute statement does not exists we should DENY all --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 5aa9e6da40..2ea52eaa2b 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -6741,7 +6741,7 @@ bgp_redistribute_add (struct prefix *p, const struct in_addr *nexthop, attr_new.med = red->redist_metric; /* Apply route-map. */ - if (red->rmap.map) + if (red->rmap.name) { info.peer = bgp->peer_self; info.attr = &attr_new;