Hotfix for Little Snitch

This commit is contained in:
Imre Kristoffer Eilertsen
2020-07-30 14:35:28 +02:00
committed by GitHub
parent 67fdcf4cd7
commit 0f1928d4e6
2 changed files with 4 additions and 4 deletions
@@ -297,8 +297,8 @@
{ "action": "deny", "process": "any", "remote-hosts": "185.13.40.150" },
{ "action": "deny", "process": "any", "remote-hosts": "195.88.54.21" },
{ "action": "deny", "process": "any", "remote-hosts": "195.88.55.21" },
{ "action": "deny", "process": "any", "remote-hosts": "196.196.230.76" }
{ "action": "deny", "process": "any", "remote-hosts": "196.196.230.76" },
{ "action": "deny", "process": "any", "remote-hosts": "2001:67c:21e0::ad" }
]}
{ "action": "deny", "process": "any", "remote-hosts": "2001:67c:21e0::ad
@@ -2040,8 +2040,8 @@ def prepare_ls(lines) -> str:
)
line = re.sub(
r"(\"196\.196\.230\.76\" }),",
r"\1\n]}",
r"(\"2001:67c:21e0::ad$)",
r'\1" }\n]}',
line
)