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
1db3281c
Commit
1db3281c
authored
Jun 03, 2020
by
Joshua Li
Committed by
Brian May
Jun 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shutil.which is 3.3+
parent
bef54e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
server.py
sshuttle/server.py
+1
-5
No files found.
sshuttle/server.py
View file @
1db3281c
...
@@ -6,6 +6,7 @@ import time
...
@@ -6,6 +6,7 @@ import time
import
sys
import
sys
import
os
import
os
import
platform
import
platform
from
shutil
import
which
import
sshuttle.ssnet
as
ssnet
import
sshuttle.ssnet
as
ssnet
import
sshuttle.helpers
as
helpers
import
sshuttle.helpers
as
helpers
...
@@ -15,11 +16,6 @@ from sshuttle.ssnet import Handler, Proxy, Mux, MuxWrapper
...
@@ -15,11 +16,6 @@ from sshuttle.ssnet import Handler, Proxy, Mux, MuxWrapper
from
sshuttle.helpers
import
b
,
log
,
debug1
,
debug2
,
debug3
,
Fatal
,
\
from
sshuttle.helpers
import
b
,
log
,
debug1
,
debug2
,
debug3
,
Fatal
,
\
resolvconf_random_nameserver
resolvconf_random_nameserver
try
:
from
shutil
import
which
except
ImportError
:
from
distutils.spawn
import
find_executable
as
which
def
_ipmatch
(
ipstr
):
def
_ipmatch
(
ipstr
):
# FIXME: IPv4 only
# FIXME: IPv4 only
...
...
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