]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Fix documentation of BGP gateway option
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 16 Dec 2019 17:05:56 +0000 (18:05 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 16 Dec 2019 17:08:40 +0000 (18:08 +0100)
Thanks to Nico Schottelius for the bugreport.

doc/bird.sgml

index 2363fb52d39ca4f0624d70899da324c25915a716..8548c9c6f8addef116dccb780916f62fc7957128 100644 (file)
@@ -2696,12 +2696,11 @@ be used in explicit configuration.
        For received routes, their <cf/gw/ (immediate next hop) attribute is
        computed from received <cf/bgp_next_hop/ attribute. This option
        specifies how it is computed. Direct mode means that the IP address from
-       <cf/bgp_next_hop/ is used if it is directly reachable, otherwise the
-       neighbor IP address is used. Recursive mode means that the gateway is
-       computed by an IGP routing table lookup for the IP address from
-       <cf/bgp_next_hop/. Note that there is just one level of indirection in
-       recursive mode - the route obtained by the lookup must not be recursive
-       itself, to prevent mutually recursive routes.
+       <cf/bgp_next_hop/ is used and must be directly reachable. Recursive mode
+       means that the gateway is computed by an IGP routing table lookup for
+       the IP address from <cf/bgp_next_hop/. Note that there is just one level
+       of indirection in recursive mode - the route obtained by the lookup must
+       not be recursive itself, to prevent mutually recursive routes.
 
        Recursive mode is the behavior specified by the BGP
        standard. Direct mode is simpler, does not require any routes in a