From 2a72b99a9dda11e9daf352d1ae8af3e7bebb26bf Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 12 Sep 2019 20:37:59 +0200 Subject: [PATCH] Captive portal, regression in merging https://github.com/opnsense/core/commit/b54f3d2cc437efe4790c1587433dca985614e6ca ref https://forum.opnsense.org/index.php?topic=14186 --- src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py b/src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py index fb2bf1743..b35a2e46c 100755 --- a/src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py +++ b/src/opnsense/scripts/OPNsense/CaptivePortal/lib/ipfw.py @@ -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: