]> git.proxmox.com Git - mirror_frr.git/commitdiff
Fixup 'force' -vs- 'all' compile issue
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 14:00:02 +0000 (07:00 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 14:00:02 +0000 (07:00 -0700)
Our code implemented 'force' for a keyword while quagga mainline implemented 'all'.
This fixups the #define usage that was missed that came in during one of the patch
files.  This is a compile only testing

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

index 7ffb35c1b1ad59dec325832761eba64d86ca9481..b1061e96ff9e26378716b3626025422b2854f449 100644 (file)
@@ -1480,7 +1480,7 @@ subgroup_announce_check (struct bgp_info *ri, struct update_subgroup *subgrp,
         {
           if (!reflect ||
               CHECK_FLAG (peer->af_flags[afi][safi],
-                          PEER_FLAG_FORCE_NEXTHOP_SELF))
+                          PEER_FLAG_NEXTHOP_SELF_ALL))
             subgroup_announce_reset_nhop (p->family, attr);
         }
       else if (peer->sort == BGP_PEER_EBGP)