Merge pull request #618 from patrislav1/bugfix-dnsproxy

Fix DnsProxy
This commit is contained in:
Brian May 2021-03-21 09:21:26 +11:00 committed by GitHub
commit bafc0a7038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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']

View File

@ -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.