Skip to content

Commit

Permalink
Captive portal, regression in merging b54f3d2
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Sep 12, 2019
1 parent 42e2dcd commit 2a72b99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def add_to_table(self, table_number, address):
: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:
Expand Down

0 comments on commit 2a72b99

Please sign in to comment.