Skip to content
Commit d5ff72d9 authored by Lance Richardson's avatar Lance Richardson Committed by David S. Miller
Browse files

vxlan: fix byte order of vxlan-gpe port number



vxlan->cfg.dst_port is in network byte order, so an htons()
is needed here. Also reduced comment length to stay closer
to 80 column width (still slightly over, however).

Fixes: e1e5314d ("vxlan: implement GPE")
Signed-off-by: default avatarLance Richardson <lrichard@redhat.com>
Acked-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a249708b
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