summaryrefslogtreecommitdiffstats
path: root/sshuttle/client.py
diff options
context:
space:
mode:
authorPatrick Huesmann <info@patrick-huesmann.de>2021-03-20 12:26:17 +0100
committerPatrick Huesmann <info@patrick-huesmann.de>2021-03-20 12:26:17 +0100
commit4c11dd7183eb9afc1b82a7cddc2a87ceac26d572 (patch)
tree9770d1fc96b35bdd34abcf359573df9253b82023 /sshuttle/client.py
parent014a268b99f84693f23b7d2d31a3104aa3c4468a (diff)
options: make sure ttl is of integer type
Diffstat (limited to 'sshuttle/client.py')
-rw-r--r--sshuttle/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/client.py b/sshuttle/client.py
index c1cabdb..e586a4a 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
@@ -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']