Browse Source

fix travis

pull/127/head
Max Lv 10 years ago
parent
commit
de0791a0dd
1 changed files with 0 additions and 2 deletions
  1. 2
      src/udprelay.c

2
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;

Loading…
Cancel
Save