summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 11884cd..3d51574 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -276,8 +276,8 @@ function captiveportal_rules_generate() {
$cpif = $config['interfaces'][$cpifn]['if'];
$cpip = $config['interfaces'][$cpifn]['ipaddr'];
- mwexec("ipfw add 400 allow carp from any to any");
- mwexec("ipfw add 401 allow pfsync from any to any");
+ mwexec("/sbin/ipfw add 400 allow carp from any to any");
+ mwexec("/sbin/ipfw add 401 allow pfsync from any to any");
/* note: the captive portal daemon inserts all pass rules for authenticated
clients as skipto 50000 rules to make traffic shaping work */
OpenPOWER on IntegriCloud