projects
/
radsecproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add client and server config options IPv4Only and IPv6Only.
[radsecproxy.git]
/
tcp.c
diff --git
a/tcp.c
b/tcp.c
index
797ec9e
..
86fa9b6
100644
(file)
--- a/
tcp.c
+++ b/
tcp.c
@@
-78,7
+78,9
@@
static char **getlistenerargs() {
void tcpsetsrcres() {
if (!srcres)
void tcpsetsrcres() {
if (!srcres)
- srcres = resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, NULL, protodefs.socktype);
+ srcres =
+ resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL,
+ AF_UNSPEC, NULL, protodefs.socktype);
}
int tcpconnect(struct server *server, struct timeval *when, int timeout, char *text) {
}
int tcpconnect(struct server *server, struct timeval *when, int timeout, char *text) {