diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/geneve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/geneve.c b/net/ipv4/geneve.c index f008c5515f48..065cd94c640c 100644 --- a/net/ipv4/geneve.c +++ b/net/ipv4/geneve.c @@ -227,7 +227,7 @@ static struct socket *geneve_create_sock(struct net *net, bool ipv6, udp_conf.family = AF_INET6; } else { udp_conf.family = AF_INET; - udp_conf.local_ip.s_addr = INADDR_ANY; + udp_conf.local_ip.s_addr = htonl(INADDR_ANY); } udp_conf.local_udp_port = port; |