--- ipset.c.orig 2009-02-27 23:54:58.000000000 +0200 +++ ipset.c 2009-02-27 23:53:25.000000000 +0200 @@ -626,7 +626,7 @@ "host/network `%s' resolves to serveral ip-addresses. " "Please specify one.", str); - *ip = ntohl(((struct in_addr *) host->h_addr_list[0])->s_addr); + *ip = ntohl(((struct in_addr *) host->h_addr_list+0)->s_addr); return; }