Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
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
Kirill Smelkov
bcc
Commits
6dcb7d33
Commit
6dcb7d33
authored
May 19, 2016
by
Qasim Sarfraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing htons in tunnel.py for consistency.
parent
b263926f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/networking/distributed_bridge/tunnel.py
examples/networking/distributed_bridge/tunnel.py
+1
-1
No files found.
examples/networking/distributed_bridge/tunnel.py
View file @
6dcb7d33
...
...
@@ -35,7 +35,7 @@ ifc_gc = []
def
run
():
ipdb
.
routes
.
add
({
"dst"
:
"224.0.0.0/4"
,
"oif"
:
ifc
.
index
}).
commit
()
with
ipdb
.
create
(
ifname
=
"vxlan0"
,
kind
=
"vxlan"
,
vxlan_id
=
0
,
vxlan_link
=
ifc
,
vxlan_port
=
htons
(
4789
)
,
vxlan_link
=
ifc
,
vxlan_port
=
4789
,
vxlan_group
=
str
(
mcast
),
vxlan_flowbased
=
True
,
vxlan_collect_metadata
=
True
,
vxlan_learning
=
False
)
as
vx
:
...
...
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