ipfilter/ipmon...

richard at uclinux.net richard at uclinux.net
Thu Jul 31 05:54:08 PDT 2003


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



More information about the freebsd-sparc64 mailing list