mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-23 02:38:30 +02:00
refine error message
This commit is contained in:
parent
c13cb9b8ca
commit
cd77ad5e7b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user