diff options
author | Ermal <eri@pfsense.org> | 2011-11-02 15:05:59 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-11-02 15:05:59 +0000 |
commit | e3db5627224a0293f74e0d032a9b230f98f85952 (patch) | |
tree | f450d357f3738f301ebeef5a6b717a3ec409d3cc /etc | |
parent | 1cad6f6c891f7c70b36cfbdbaf4126084ab729ee (diff) | |
download | pfsense-e3db5627224a0293f74e0d032a9b230f98f85952.zip pfsense-e3db5627224a0293f74e0d032a9b230f98f85952.tar.gz |
Fixes #1976. Correct passthrough mac entries to not overwrite each other this is different from allowed ips that used tables.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index a1edb5d..a3aad2c 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -941,10 +941,7 @@ function captiveportal_passthrumac_configure_entry($macent) { $actionup = "allow"; $actiondown = "allow"; - if ($enBwup && $enBwdown) - $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, true); - else - $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, false); + $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, true); if ($enBwup) { $bw_up = $ruleno + 20000; |