diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-09-21 13:54:13 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-09-21 14:19:35 +0200 |
commit | ffaa890e99e2176ff3d2dec0ab5a8136e1e946ff (patch) | |
tree | 8c3765d9736a0f86037b42c18fd3c1553b4a2434 /src/core/servers-setup.h | |
parent | 0912a1105058829559529e2ae7d62daccb8337f6 (diff) | |
download | irssi-ffaa890e99e2176ff3d2dec0ab5a8136e1e946ff.zip |
Initial work to make irssi respect the resolved ip order
Ip's aren't selected using random() anymore, also select the ip version
by using getaddrinfo and some proper hints.
Diffstat (limited to 'src/core/servers-setup.h')
-rw-r--r-- | src/core/servers-setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers-setup.h b/src/core/servers-setup.h index f7601a68..c4878094 100644 --- a/src/core/servers-setup.h +++ b/src/core/servers-setup.h @@ -16,7 +16,7 @@ struct _SERVER_SETUP_REC { extern GSList *setupservers; -extern IPADDR *source_host_ip4, *source_host_ip6; /* Resolved address */ +extern IPADDR source_host_ip; /* Resolved address */ extern int source_host_ok; /* Use source_host_ip .. */ /* Fill reconnection specific information to connection |