Network fixes. DCC fixes for IPv6 + BSDs.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3124 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-07-09 23:34:41 +00:00 committed by cras
commit a619fe9a2c
3 changed files with 17 additions and 4 deletions

View file

@ -39,6 +39,8 @@ struct _IPADDR {
#define IPADDR_IS_V6(ip) ((ip)->family != AF_INET)
extern IPADDR ip4_any;
/* returns 1 if IPADDRs are the same */
int net_ip_compare(IPADDR *ip1, IPADDR *ip2);