From 6dcb7d33e2b78cdf2a343ea08fd114b294d40f9e Mon Sep 17 00:00:00 2001 From: Qasim Sarfraz Date: Thu, 19 May 2016 15:02:26 +0500 Subject: [PATCH] Removing htons in tunnel.py for consistency. --- examples/networking/distributed_bridge/tunnel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/networking/distributed_bridge/tunnel.py b/examples/networking/distributed_bridge/tunnel.py index 06ebbf1..ef94292 100755 --- a/examples/networking/distributed_bridge/tunnel.py +++ b/examples/networking/distributed_bridge/tunnel.py @@ -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: -- 2.7.4