diff options
author | Fabian Mauchle <fabian.mauchle@switch.ch> | 2017-09-24 22:03:40 +0200 |
---|---|---|
committer | Fabian Mauchle <fabian.mauchle@switch.ch> | 2017-09-24 22:14:59 +0200 |
commit | 3dc69a67bb3666a6c2fb31d34c4b864aaf10603f (patch) | |
tree | 31cc9d45cb3e4a8946bf8eb41e277fba21bf28b7 /util.h | |
parent | 59b519f6607a24996f82a014c5cd9209746b5103 (diff) |
Only set IPV6_IPV6ONLY if it actually is a IPv6 socket.v6only
Set message level back to warning.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ void port_set(struct sockaddr *sa, uint16_t port); void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len); void disable_DF_bit(int socket, struct addrinfo *res); -int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only); +int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse); int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout); |