summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-10-21 21:34:15 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-10-21 21:34:15 +0000
commitbfadd051e379a4e92b53573d6394b2c9f77860b7 (patch)
tree178296e63959595734d4dcf55b8a6ac4bfa7341c /usr.sbin/bgpd
parent58f22dfb5296921b319c1a0802367beff7e7af20 (diff)
Being able to set the decision weight of prefixes is a nice feature, but
when it's not really documented in what way it influences the decision process, people like myself will screw it up and assume that it gets added to the prefix path lenth, and thus that smaller weight wins. .. which is not the case. Document the actual behaviour. ok claudio, the general change agreed by henning. proofraed by jmc.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.56
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index ef1340a4403..c78e3e70d9b 100644
--- a/usr.sbin/bgpd/bgpd.conf.5
+++ b/usr.sbin/bgpd/bgpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpd.conf.5,v 1.86 2007/05/31 19:20:22 jmc Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.87 2007/10/21 21:34:14 mk Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: October 21 2007 $
.Dt BGPD.CONF 5
.Os
.Sh NAME
@@ -1131,6 +1131,8 @@ otherwise it will be set to
.Ar number .
.Em Weight
is a local non-transitive attribute and a bgpd-specific extension.
+For prefixes with equally long paths, the prefix with the larger weight
+is selected.
.El
.Sh FILES
.Bl -tag -width "/etc/bgpd.conf" -compact