mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Captive portal, regression in merging b54f3d2cc4
ref https://forum.opnsense.org/index.php?topic=14186
This commit is contained in:
parent
42e2dcd20e
commit
2a72b99a9d
@ -75,7 +75,6 @@ class IPFW(object):
|
||||
:param address: ip address or net to add to table
|
||||
:return:
|
||||
"""
|
||||
subprocess.run(['/sbin/ipfw', 'table', str(table_number), 'add', address], capture_output=True)
|
||||
ipfw_tbl = self.list_table(table_number)
|
||||
rule_number = str(self._add_accounting(address))
|
||||
if address not in ipfw_tbl:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user