Changed one place where the Exception text was still tproxy to ipfw.

This commit is contained in:
JohnHay
2021-12-20 08:58:25 +02:00
parent 7c1f2b08cf
commit f247853f39

View File

@ -216,7 +216,7 @@ class Method(BaseMethod):
def restore_firewall(self, port, family, udp, user): def restore_firewall(self, port, family, udp, user):
if family not in [socket.AF_INET]: if family not in [socket.AF_INET]:
raise Exception( raise Exception(
'Address family "%s" unsupported by tproxy method' 'Address family "%s" unsupported by ipfw method'
% family_to_string(family)) % family_to_string(family))
ipfw_noexit('delete', '1') ipfw_noexit('delete', '1')