Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
be559fc7
Commit
be559fc7
authored
Jul 14, 2017
by
Itamar Turner-Trauring
Committed by
Brian May
Jul 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix case where there is no --dns.
parent
d2e97a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
client.py
sshuttle/client.py
+3
-0
No files found.
sshuttle/client.py
View file @
be559fc7
...
...
@@ -553,6 +553,9 @@ def main(listenip_v6, listenip_v4,
nslist
+=
resolvconf_nameservers
()
if
to_nameserver
is
not
None
:
to_nameserver
=
"
%
s@
%
s"
%
tuple
(
to_nameserver
[
1
:])
else
:
# option doesn't make sense if we aren't proxying dns
to_nameserver
=
None
subnets
=
subnets_include
+
subnets_exclude
# we don't care here
subnets_v6
=
[
i
for
i
in
subnets
if
i
[
0
]
==
socket
.
AF_INET6
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment