Skip to content

Commit 10dc229

Browse files
committed
fix bootstrapping issue when pf started before
1 parent cd77ad5 commit 10dc229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firewall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def do_pf(port, dnsport, family, subnets, udp):
498498
with open(pf_config_file, 'w+') as f:
499499
f.write('\n'.join(tables + translating_rules + filtering_rules) + '\n')
500500

501-
pfctl('-ef', pf_config_file)
501+
pfctl('-Ef', pf_config_file)
502502
os.remove(pf_config_file)
503503
else:
504504
pfctl('-dF', 'all')

0 commit comments

Comments
 (0)