summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-27 17:20:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-27 17:20:30 +0000
commit12249cadb2f2a47f0cd4624c5885ab51d498d4cf (patch)
tree6438b0c118c0ee3ec2e9b2c0dd41d704f716b081 /etc
parentb0c76a0cb34b4934a3c83665a12721ef114f0f44 (diff)
downloadpfsense-12249cadb2f2a47f0cd4624c5885ab51d498d4cf.zip
pfsense-12249cadb2f2a47f0cd4624c5885ab51d498d4cf.tar.gz
Correctly add the mac pass through rule
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 ad0296c..4658a0a 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -567,6 +567,7 @@ function captiveportal_passthrumac_configure() {
mwexec("/sbin/ipfw delete 50");
foreach($config['captiveportal']['passthrumac'] as $ptm) {
/* 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");
}
}
OpenPOWER on IntegriCloud