[Iftop-users] [PATCH] options: select interface that is IPv4 default route (Closes: #644998)

Shawn Landden shawn at git.icu
Mon Jun 11 13:00:23 BST 2018


On Mon, Jun 11, 2018 at 2:19 AM Paul Warren <pdw at ex-parrot.com> wrote:

> Hi Shawn,
>
> Thanks for this.  Unfortunately, it doesn't work:
>
> r = read(fds[1], &buf, sizeof(buf));
>
>

>
> Ahh, on my Ubuntu machine optimization led the close() on the wrong fd to
run _after_ the read(), so it worked. But thankfully you caught it (this is
why we test!).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.beasts.org/pipermail/iftop-users/attachments/20180611/1be24a20/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-options-select-interface-that-is-default-route-Close.patch
Type: text/x-patch
Size: 3834 bytes
Desc: not available
URL: <http://lists.beasts.org/pipermail/iftop-users/attachments/20180611/1be24a20/attachment-0001.bin>


More information about the iftop-users mailing list