Skip to content

Commit

Permalink
Removing htons in tunnel.py for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Qasim Sarfraz committed May 19, 2016
1 parent b263926 commit 6dcb7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/networking/distributed_bridge/tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
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:
Expand Down

0 comments on commit 6dcb7d3

Please sign in to comment.