Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 157005 | Differences between
and this patch

Collapse All | Expand All

(-)oftpd-0.3.7.orig/src/ftp_session.c (+2 lines)
Lines 708-717 Link Here
708
    if ((((struct sockaddr *)host_port)->sa_family != AF_INET) && 
708
    if ((((struct sockaddr *)host_port)->sa_family != AF_INET) && 
709
        (((struct sockaddr *)host_port)->sa_family != AF_INET6)) {
709
        (((struct sockaddr *)host_port)->sa_family != AF_INET6)) {
710
        reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
710
        reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
711
        return;
711
    }
712
    }
712
#else
713
#else
713
    if (((struct sockaddr *)host_port)->sa_family != AF_INET) {
714
    if (((struct sockaddr *)host_port)->sa_family != AF_INET) {
714
        reply(f, 521, "Only IPv4 supported, address family (4)");
715
        reply(f, 521, "Only IPv4 supported, address family (4)");
716
        return;
715
    }
717
    }
716
#endif
718
#endif
717
719

Return to bug 157005