• Bug#140504: patch to add interface info

    From Christoph Biedl@1:229/2 to All on Fri Aug 13 10:50:14 2004
    From: [email protected]

    Blars Blarson wrote...

    Here's a patch to add the interface name to arpwatch reports. It also
    adds it to the database (for new entries) as a start to the fix for
    140507.

    It's very fine but it generates confusing messages when using the
    -r (read file) option like
    | Subject: : new station (...)
    The following simple patch sets the interface name to "(from file)":

    --- ORG/arpwatch.c 2004-08-13 09:55:59.000000000 +0200
    +++ PATCH/arpwatch.c 2004-08-13 09:56:20.000000000 +0200
    @@ -272,6 +272,7 @@
    if (rfilename != NULL) {
    net = 0;
    netmask = 0;
    + interface = "(from file)";
    } else {
    /* Determine interface if not specified */
    if (interface == NULL &&

    Christoph


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)