diff --git a/firewall.py b/firewall.py index b93cf05..74f29ad 100644 --- a/firewall.py +++ b/firewall.py @@ -122,7 +122,7 @@ def do_ipfw(port, subnets): # cleanup any existing rules if ipfw_rule_exists(port): - ipfw('del', sport) + ipfw('delete', sport) while _oldctls: (name,oldval) = _oldctls.pop()