From de0791a0ddaeac0e1a69886d06d0f15de6a11b58 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 5 Oct 2014 19:50:04 +0800 Subject: [PATCH] fix travis --- src/udprelay.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/udprelay.c b/src/udprelay.c index 3dbbbf1e..f44c0d30 100644 --- a/src/udprelay.c +++ b/src/udprelay.c @@ -219,7 +219,6 @@ int create_remote_socket(int ipv6) // Try to bind IPv6 first struct sockaddr_in6 addr; memset(&addr, 0, sizeof(addr)); - addr.sin6_len = sizeof(addr); addr.sin6_family = AF_INET6; addr.sin6_addr = in6addr_any; addr.sin6_port = 0; @@ -240,7 +239,6 @@ int create_remote_socket(int ipv6) // Or else bind to IPv4 struct sockaddr_in addr; memset(&addr, 0, sizeof(addr)); - addr.sin_len = sizeof(addr); addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_ANY; addr.sin_port = 0;