summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2004-02-18 08:30:08 +0000
committermaxim <maxim@FreeBSD.org>2004-02-18 08:30:08 +0000
commit5ce7073e531054245115e365d35219c5345eed34 (patch)
tree64650976e36d53cf5483407a9c906e3df9602ced
parentace4c0498573b056a34f3298a83e4c476883760c (diff)
downloadFreeBSD-src-5ce7073e531054245115e365d35219c5345eed34.zip
FreeBSD-src-5ce7073e531054245115e365d35219c5345eed34.tar.gz
o Fix a bridge example: sysctl net.inet.ip.forwarding=1 is needless,
bridge(4) is working on a level below. Suggest sysctl net.inet.ip.check_interface=0 instead. MFC after: 2 weeks
-rw-r--r--share/man/man4/ath.42
-rw-r--r--share/man/man4/wi.42
2 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/ath.4 b/share/man/man4/ath.4
index b53c905..65228df 100644
--- a/share/man/man4/ath.4
+++ b/share/man/man4/ath.4
@@ -192,7 +192,7 @@ Add BRIDGE to the kernel config.
ifconfig ath0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
sysctl net.link.ether.bridge.enable=1
sysctl net.link.ether.bridge.config="ath0 fxp0"
-sysctl net.inet.ip.forwarding=1
+sysctl net.inet.ip.check_interface=0
.Ed
.Pp
This will give you the same functionality as an access point.
diff --git a/share/man/man4/wi.4 b/share/man/man4/wi.4
index a317b38..b9a4ecd 100644
--- a/share/man/man4/wi.4
+++ b/share/man/man4/wi.4
@@ -312,7 +312,7 @@ Add BRIDGE to the kernel config.
ifconfig wi0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
sysctl net.link.ether.bridge.enable=1
sysctl net.link.ether.bridge.config="wi0 fxp0"
-sysctl net.inet.ip.forwarding=1
+sysctl net.inet.ip.check_interface=0
.Ed
.Pp
This will give you the same functionality as an access point.
OpenPOWER on IntegriCloud