diff options
author | Mike Rapoport <mike.rapoport@ravellosystems.com> | 2013-04-14 01:21:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-14 21:41:49 +0200 |
commit | 9d9f163c82c678f1efe6e7d40d8691dca08c3eab (patch) | |
tree | 46a7334c4d6fdd538571fad4cf93e62ce0f4ae05 /include/net | |
parent | ucc_geth: Convert ugeth_<level> to pr_<level> (diff) | |
download | linux-9d9f163c82c678f1efe6e7d40d8691dca08c3eab.tar.xz linux-9d9f163c82c678f1efe6e7d40d8691dca08c3eab.zip |
vxlan: use htonl when snooping for loopback address
Currently "bridge fdb show dev vxlan0" lists loopback address as
"1.0.0.127". Using htonl(INADDR_LOOPBACK) rather than passing it
directly to vxlan_snoop fixes the problem.
Signed-off-by: Mike Rapoport <mike.rapoport@ravellosystems.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions