Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 193646
Collapse All | Expand All

(-)avahi-core/socket.c.orig (+4 lines)
Lines 372-377 Link Here
372
}
372
}
373
373
374
int avahi_open_socket_ipv6(int no_reuse) {
374
int avahi_open_socket_ipv6(int no_reuse) {
375
#ifdef IPV6_V6ONLY
375
    struct sockaddr_in6 sa, local;
376
    struct sockaddr_in6 sa, local;
376
    int fd = -1, yes, r;
377
    int fd = -1, yes, r;
377
    int ttl;
378
    int ttl;
Lines 437-442 Link Here
437
fail:
438
fail:
438
    if (fd >= 0)
439
    if (fd >= 0)
439
        close(fd);
440
        close(fd);
441
#endif
440
442
441
    return -1;
443
    return -1;
442
}
444
}
Lines 936-941 Link Here
936
}
938
}
937
939
938
int avahi_open_unicast_socket_ipv6(void) {
940
int avahi_open_unicast_socket_ipv6(void) {
941
#ifdef IPV6_V6ONLY
939
    struct sockaddr_in6 local;
942
    struct sockaddr_in6 local;
940
    int fd = -1, yes;
943
    int fd = -1, yes;
941
        
944
        
Lines 977-981 Link Here
977
    if (fd >= 0)
980
    if (fd >= 0)
978
        close(fd);
981
        close(fd);
979
982
983
#endif
980
    return -1;
984
    return -1;
981
}
985
}

Return to bug 193646