Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 14 Nov 1999 23:42:49 -0800
> OK, I did that and here is what I get:
> Failed to open lo0 with pcap_open_live(), error is: lo0: No buffer space available

...but, when you stepped through "pcap_open_live()", the "open()" call
returned 10, not -1?

Odd.  In "bpf_open()", does it break out of the

        do {
                (void)sprintf(device, "/dev/bpf%d", n++);
                fd = open(device, O_RDONLY);
        } while (fd < 0 && errno == EBUSY);

loop with "fd" being a non-negative number?