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

(-)oftpd-0.3.7.orig/src/ftp_session.c (+2 lines)
Lines 683-692 static void do_lprt(ftp_session_t *f, co Link Here
683
#ifdef INET6
683
#ifdef INET6
684
    if ((SSFAM(host_port) != AF_INET) && (SSFAM(host_port) != AF_INET6)) {
684
    if ((SSFAM(host_port) != AF_INET) && (SSFAM(host_port) != AF_INET6)) {
685
        reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
685
        reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
686
        return;
686
    }
687
    }
687
#else
688
#else
688
    if (SSFAM(host_port) != AF_INET) {
689
    if (SSFAM(host_port) != AF_INET) {
689
        reply(f, 521, "Only IPv4 supported, address family (4)");
690
        reply(f, 521, "Only IPv4 supported, address family (4)");
691
        return;
690
    }
692
    }
691
#endif
693
#endif
692
694

Return to bug 159178