summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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 25aa84f..a9c981c 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1714,9 +1714,9 @@ function captiveportal_reapply_attributes($cpentry, $attributes) {
}
if (!empty($commands)) {
- @file_put_contents("{$g['tmp_path']}/reattribute.rule.tmp", $commands);
+ @file_put_contents("{$g['tmp_path']}/reattribute{$cpzone}.rule.tmp", $commands);
captiveportal_ipfw_set_context($cpzone);
- mwexec("/sbin/ipfw -q {$g['tmp_path']}/tmprules.rules");
+ mwexec("/sbin/ipfw -q {$g['tmp_path']}/reattribute{$cpzone}.rule.tmp");
captiveportal_logportalauth($cpentry[4], $cpentry[3], $cpentry[2], "RADIUS_BANDWIDTH_REAPPLY", "{$bw_up}/{$bw_down}");
}
OpenPOWER on IntegriCloud