View | Details | Raw Unified
Collapse All | Expand All

(-) avahi-core/socket.c.orig (+4 lines)
 Lines 372-377    Link Here 
}
}
int avahi_open_socket_ipv6(int no_reuse) {
int avahi_open_socket_ipv6(int no_reuse) {
#ifdef IPV6_V6ONLY
    struct sockaddr_in6 sa, local;
    struct sockaddr_in6 sa, local;
    int fd = -1, yes, r;
    int fd = -1, yes, r;
    int ttl;
    int ttl;
 Lines 437-442    Link Here 
fail:
fail:
    if (fd >= 0)
    if (fd >= 0)
        close(fd);
        close(fd);
#endif
    return -1;
    return -1;
}
}
 Lines 936-941    Link Here 
}
}
int avahi_open_unicast_socket_ipv6(void) {
int avahi_open_unicast_socket_ipv6(void) {
#ifdef IPV6_V6ONLY
    struct sockaddr_in6 local;
    struct sockaddr_in6 local;
    int fd = -1, yes;
    int fd = -1, yes;
        
        
 Lines 977-981    Link Here 
    if (fd >= 0)
    if (fd >= 0)
        close(fd);
        close(fd);
#endif
    return -1;
    return -1;
}
}