mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-08-11 08:40:59 +02:00
refine error message
This commit is contained in:
@ -585,7 +585,7 @@ def main(port_v6, port_v4, dnsport_v6, dnsport_v4, method, udp, syslog):
|
|||||||
elif program_exists('pfctl'):
|
elif program_exists('pfctl'):
|
||||||
method = "pf"
|
method = "pf"
|
||||||
else:
|
else:
|
||||||
raise Fatal("can't find either ipfw or iptables; check your PATH")
|
raise Fatal("can't find either ipfw, iptables or pfctl; check your PATH")
|
||||||
|
|
||||||
if method == "nat":
|
if method == "nat":
|
||||||
do_it = do_iptables_nat
|
do_it = do_iptables_nat
|
||||||
|
Reference in New Issue
Block a user