Commit f712dca2 authored by Qasim Sarfraz's avatar Qasim Sarfraz Committed by MQasimSarfraz

Avoid byte swap for vxlan port

Signed-off-by: default avatarMQasimSarfraz <qasims@example.com>
parent ba275e4c
......@@ -45,7 +45,7 @@ class TunnelSimulation(Simulation):
with host[0].create(ifname="vxlan%d" % i, kind="vxlan",
vxlan_id=10000 + i,
vxlan_link=host[0].interfaces.eth0,
vxlan_port=htons(4789),
vxlan_port=4789,
vxlan_group="239.1.1.%d" % (1 + i)) as vx:
vx.up()
with host[0].create(ifname="br%d" % i, kind="bridge") as br:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment