5 static unsigned int seq = 0;
12 rta = RTA_NEXT(rta, len1);
15 - if (addr.s_addr && ipv4_callback)
16 + if (addr.s_addr && ipv4_callback) {
17 if (!((*ipv4_callback)(addr, ifa->ifa_index, netmask, broadcast, parm)))
24 else if (ifa->ifa_family == AF_INET6)
27 if (addrp && ipv6_callback)
28 if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm)))
37 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 ||
38 listen(tcpfd, 5) == -1 ||
39 bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1)
43 l = safe_malloc(sizeof(struct listener));