From 12249cadb2f2a47f0cd4624c5885ab51d498d4cf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Sep 2005 17:20:30 +0000 Subject: Correctly add the mac pass through rule --- etc/inc/captiveportal.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') 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"); } } -- cgit v1.1