Acked-by: Jafar Al-Gharaibeh <[email protected]>

On 6/2/2016 1:11 AM, Donald Sharp wrote:
Commit f3cfc46 introduced this issue.  A route-map
lookup was being done for IPv6, using IPv4 information.

Signed-off-by: Donald Sharp <[email protected]>
---
  bgpd/bgp_routemap.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index 39fa08c..98d5f1f 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -2389,7 +2389,7 @@ bgp_route_map_update (const char *unused)
              route_map_lookup_by_name (bgp->rmap[AFI_IP][i].name);
          if (bgp->rmap[AFI_IP6][i].name)
            bgp->rmap[AFI_IP6][i].map =
-             route_map_lookup_by_name (bgp->rmap[AFI_IP][i].name);
+             route_map_lookup_by_name (bgp->rmap[AFI_IP6][i].name);
        }
      }
  }


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to