summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-27 18:01:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-27 18:01:18 +0000
commitea89d454d092e4c045e88fed6ce28354683975b7 (patch)
treee6b0de1afd32769cd1832bef03f6eb82264bbe6a /etc
parent12249cadb2f2a47f0cd4624c5885ab51d498d4cf (diff)
downloadpfsense-ea89d454d092e4c045e88fed6ce28354683975b7.zip
pfsense-ea89d454d092e4c045e88fed6ce28354683975b7.tar.gz
Allow src and dst mac's
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 4658a0a..5ebe5a6 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -569,6 +569,7 @@ function captiveportal_passthrumac_configure() {
/* create the pass through mac entry */
//system("echo /sbin/ipfw add 50 skipto 65535 ip from any to any MAC {$ptm['mac']} any > /tmp/cp");
mwexec("/sbin/ipfw add 50 skipto 65535 ip from any to any MAC {$ptm['mac']} any");
+ mwexec("/sbin/ipfw add 50 skipto 65535 ip from any to any MAC any {$ptm['mac']}");
}
}
OpenPOWER on IntegriCloud