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
b8160c4a
Commit
b8160c4a
authored
Mar 22, 2016
by
Brian May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pep8 issues
parent
05bacf6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
cmdline.py
sshuttle/cmdline.py
+2
-3
options.py
sshuttle/options.py
+2
-2
No files found.
sshuttle/cmdline.py
View file @
b8160c4a
import
sys
import
re
import
re
import
socket
import
sshuttle.helpers
as
helpers
import
sshuttle.helpers
as
helpers
import
sshuttle.client
as
client
import
sshuttle.client
as
client
import
sshuttle.firewall
as
firewall
import
sshuttle.firewall
as
firewall
import
sshuttle.hostwatch
as
hostwatch
import
sshuttle.hostwatch
as
hostwatch
import
sshuttle.ssyslog
as
ssyslog
import
sshuttle.ssyslog
as
ssyslog
from
sshuttle.options
import
parser
from
sshuttle.options
import
parser
,
parse_ipport6
,
parse_ipport4
from
sshuttle.helpers
import
family_ip_tuple
,
log
,
Fatal
from
sshuttle.helpers
import
family_ip_tuple
,
log
,
Fatal
def
main
():
def
main
():
opt
=
parser
.
parse_args
()
opt
=
parser
.
parse_args
()
...
...
sshuttle/options.py
View file @
b8160c4a
...
@@ -2,7 +2,7 @@ import re
...
@@ -2,7 +2,7 @@ import re
import
socket
import
socket
from
argparse
import
ArgumentParser
,
Action
,
ArgumentTypeError
as
Fatal
from
argparse
import
ArgumentParser
,
Action
,
ArgumentTypeError
as
Fatal
from
sshuttle
import
__version__
from
sshuttle
import
__version__
from
sshuttle.helpers
import
family_ip_tuple
# 1.2.3.4/5 or just 1.2.3.4
# 1.2.3.4/5 or just 1.2.3.4
def
parse_subnet4
(
s
):
def
parse_subnet4
(
s
):
...
...
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