mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-01 03:29:38 +01:00
options: make sure ttl is of integer type
This commit is contained in:
parent
014a268b99
commit
4c11dd7183
@ -206,7 +206,7 @@ class FirewallClient:
|
||||
['-v'] * (helpers.verbose or 0) +
|
||||
['--method', method_name] +
|
||||
['--firewall'] +
|
||||
['--ttl', ttl])
|
||||
['--ttl', str(ttl)])
|
||||
if ssyslog._p:
|
||||
argvbase += ['--syslog']
|
||||
|
||||
|
@ -389,7 +389,8 @@ parser.add_argument(
|
||||
)
|
||||
parser.add_argument(
|
||||
"--ttl",
|
||||
default="63",
|
||||
type=int,
|
||||
default=63,
|
||||
help="""
|
||||
Override the TTL for the connections made by the sshuttle server.
|
||||
Default is 63.
|
||||
|
Loading…
Reference in New Issue
Block a user