diff options
author | Ermal <eri@pfsense.org> | 2013-03-05 19:06:18 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-05 19:07:31 +0000 |
commit | 7aff41fe777107dd5dd8ae231296f6beac2cf441 (patch) | |
tree | f9cf5025f59478ba7de45a27530fe413cff98e7b /etc | |
parent | 0964451700c36bf23a8c573e752f6603710025db (diff) | |
download | pfsense-7aff41fe777107dd5dd8ae231296f6beac2cf441.zip pfsense-7aff41fe777107dd5dd8ae231296f6beac2cf441.tar.gz |
Give the rules their own number and swap table numbers to correct statistics gathering.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index f876a5a..38202e9 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -527,9 +527,11 @@ EOD; $rulenum++; /* Allowed ips */ $cprules .= "add {$rulenum} pipe tablearg ip from table(3) to any in\n"; - $cprules .= "add {$rulenum} pipe tablearg ip from any to table(3) in\n"; $rulenum++; - $cprules .= "add {$rulenum} pipe tablearg ip from table(4) to any out\n"; + $cprules .= "add {$rulenum} pipe tablearg ip from any to table(4) in\n"; + $rulenum++; + $cprules .= "add {$rulenum} pipe tablearg ip from table(3) to any out\n"; + $rulenum++; $cprules .= "add {$rulenum} pipe tablearg ip from any to table(4) out\n"; $rulenum++; |