mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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.
This commit is contained in:
parent
0912a11050
commit
ffaa890e99
17 changed files with 87 additions and 236 deletions
|
|
@ -67,8 +67,7 @@ void server_connect_failed(SERVER_REC *server, const char *msg);
|
|||
void server_change_nick(SERVER_REC *server, const char *nick);
|
||||
|
||||
/* Update own IPv4 and IPv6 records */
|
||||
void server_connect_own_ip_save(SERVER_CONNECT_REC *conn,
|
||||
IPADDR *ip4, IPADDR *ip6);
|
||||
void server_connect_own_ip_save(SERVER_CONNECT_REC *conn, IPADDR *ip);
|
||||
|
||||
/* `optlist' should contain only one unknown key - the server tag.
|
||||
returns NULL if there was unknown -option */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue