Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 15:54:04 +0300
From:      richard@uclinux.net
To:        freebsd-sparc64@freebsd.org
Subject:   Re: ipfilter/ipmon...
Message-ID:  <r02000000-1026-10C9101CC35611D7ADA500039387ACB6@[192.168.1.3]>

next in thread | raw e-mail | index | archive | help

Tracked down to ipmon.c...


    if (ioctl(fd[i], FIONREAD, &tr) == -1) {
        if (opts & OPT_SYSLOG)
            syslog(LOG_CRIT,
                   "ioctl(FIONREAD): %m");
        else
            perror("ioctl(FIONREAD)");
        exit(1);
        /* NOTREACHED */
    }


FIONREAD always returns 0 although I can dump
the binary representation of /dev/ipl...

Also correctly flushes the log buffer from /dev/ipl when
calling with "-F" option...


don't expect an answer though...since this list is sort of dead anyway (o;


rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r02000000-1026-10C9101CC35611D7ADA500039387ACB6>