summaryrefslogtreecommitdiff
path: root/sys/net/bridgestp.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-12-09 10:11:54 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-12-09 10:11:54 +0000
commita5067ef6691277e4fbaa1b87da74ecb3dee425d3 (patch)
tree4f10d364a34a108b8ac539400e2d17d77180cb65 /sys/net/bridgestp.c
parenta132b5806b65d29bb80a0aab6478ed425672a4f3 (diff)
allow setting of ifcost with brconfig. enables selection of preferred
port/path to root bridge among several LANs. unlike ifpriority, which allows you to select designated port if serveral interfaces belong to the same LAN; ok jason@
Diffstat (limited to 'sys/net/bridgestp.c')
-rw-r--r--sys/net/bridgestp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 4bb56448500..e743e97a3b3 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bridgestp.c,v 1.11 2002/12/04 15:44:21 markus Exp $ */
+/* $OpenBSD: bridgestp.c,v 1.12 2002/12/09 10:11:52 markus Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1259,6 +1259,7 @@ bstp_ioctl(ifp, cmd, data)
case SIOCBRDGDEL:
case SIOCBRDGSIFFLGS:
case SIOCBRDGSIFPRIO:
+ case SIOCBRDGSIFCOST:
r = 1;
break;
default: