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
Yohann D'Anello
re6stnet
Commits
f7f48bba
Commit
f7f48bba
authored
Apr 29, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No blackroute for my subnet.
parent
9fa3a71f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
re6stnet
re6stnet
+4
-3
No files found.
re6stnet
View file @
f7f48bba
...
@@ -287,12 +287,13 @@ def main():
...
@@ -287,12 +287,13 @@ 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
:])
ip
(
'route'
,
'unreachable'
,
*
x
)
# 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
if
sys
.
platform
==
'cygwin'
:
if
sys
.
platform
==
'cygwin'
:
[
ip
(
'vpntap'
,
'dev'
,
x
)
for
x
in
tunnel_interfaces
]
[
ip
(
'vpntap'
,
'dev'
,
x
)
for
x
in
tunnel_interfaces
]
else
:
ip
(
'route'
,
'unreachable'
,
*
x
)
config
.
babel_args
+=
config
.
iface_list
config
.
babel_args
+=
config
.
iface_list
cleanup
.
append
(
plib
.
router
(
subnet
,
config
.
hello
,
config
.
table
,
cleanup
.
append
(
plib
.
router
(
subnet
,
config
.
hello
,
config
.
table
,
...
...
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