summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-27 17:16:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-27 17:16:59 +0000
commitb0c76a0cb34b4934a3c83665a12721ef114f0f44 (patch)
tree6562affbe45d77ff4a476bdf5b5537f4c3030191 /etc
parentff5df1a0036e61566f2428e6167838d30cd6f345 (diff)
downloadpfsense-b0c76a0cb34b4934a3c83665a12721ef114f0f44.zip
pfsense-b0c76a0cb34b4934a3c83665a12721ef114f0f44.tar.gz
Correctly add the mac pass through rule
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 963806e..ad0296c 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -567,7 +567,7 @@ function captiveportal_passthrumac_configure() {
mwexec("/sbin/ipfw delete 50");
foreach($config['captiveportal']['passthrumac'] as $ptm) {
/* create the pass through mac entry */
- mwexec("/sbin/ipfw add 50 skipto 65535 from any to any MAC {$ptm['mac']}");
+ mwexec("/sbin/ipfw add 50 skipto 65535 ip from any to any MAC {$ptm['mac']} any");
}
}
OpenPOWER on IntegriCloud