Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
re6stnet
Commits
819b530b
Commit
819b530b
authored
May 28, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable check_no_default_route thread.
parent
f3ccd7a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
re6stnet
re6stnet
+1
-2
No files found.
re6stnet
View file @
819b530b
...
@@ -341,7 +341,6 @@ def main():
...
@@ -341,7 +341,6 @@ def main():
call
(
if_rt
)
call
(
if_rt
)
if_rt
+=
x
[
1
:]
if_rt
+=
x
[
1
:]
call
(
if_rt
[:
3
]
+
[
'add'
,
'proto'
,
'static'
]
+
if_rt
[
4
:])
call
(
if_rt
[:
3
]
+
[
'add'
,
'proto'
,
'static'
]
+
if_rt
[
4
:])
else
:
else
:
def
check_no_default_route
():
def
check_no_default_route
():
try
:
try
:
...
@@ -360,7 +359,7 @@ def main():
...
@@ -360,7 +359,7 @@ def main():
exit
(
1
)
exit
(
1
)
t
=
threading
.
Thread
(
target
=
check_no_default_route
)
t
=
threading
.
Thread
(
target
=
check_no_default_route
)
t
.
daemon
=
True
t
.
daemon
=
True
t
.
start
()
#
t.start()
# adding tap-windows driver will break others, so we add
# adding tap-windows driver will break others, so we add
# all drivers here
# all drivers here
...
...
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