Very nice, thanks Lawrence!

Eric

--------------------------------------------
Q: Why is this email five sentences or less?
A: http://five.sentenc.es


On Mon, Jul 13, 2015 at 11:58 AM, Lawrence D'Oliveiro <ldo@geek-central.gen.nz> wrote:
On Mon, 13 Jul 2015 10:40:17 +1200, Eric Light wrote:

> I'm investigating a flaky printer, and was running ping -f to see
> when it went down.  I got the following:
>
> PING prn37.forlongs.local (10.7.140.37) 56(84) bytes of data.
> .....................................................
> .....................................................
> .....................................................
> .......E.............................................
>
>
> ... what the heck is the 'E'?  I can't find it in the man pages.

From ping.c in the iputils-ping package in Debian:

    int receive_error_msg()
    {
        ...
        } else if (e->ee_origin == SO_EE_ORIGIN_ICMP) {
        ...
            if (options & F_FLOOD) {
                write_stdout("\bE", 2);
        ...
    }

This routine is called from ping_common.c when “An ICMP error arrived”.
_______________________________________________
wlug mailing list | wlug@list.waikato.ac.nz
Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug