summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-04-27 11:31:56 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-29 11:53:12 -0400
commit7d836a7679a85f75bbc96d631b4007a78396b190 (patch)
treeee61331a1aa62a91aef8af609fce1e5f28a5cf86 /tools
parent5d174dd80ce94b7ed0950e31fc9a0122c689523b (diff)
downloadop-kernel-dev-7d836a7679a85f75bbc96d631b4007a78396b190.zip
op-kernel-dev-7d836a7679a85f75bbc96d631b4007a78396b190.tar.gz
vxlan: compute source port in network byte order
Rather than computing source port and returning it in host order then swapping later, go ahead and compute it in network order to start with. Cleaner and less error prone. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud