]> git.ipfire.org Git - thirdparty/mtr.git/commit
ui: display "no route to host" error as host entry rather than abort 209/head
authorMatt Kimball <matt.kimball@gmail.com>
Tue, 11 Jul 2017 21:55:40 +0000 (14:55 -0700)
committerMatt Kimball <matt.kimball@gmail.com>
Tue, 11 Jul 2017 21:55:40 +0000 (14:55 -0700)
commitaba24a7f129f846e17c6fe1279a40f1d118281c3
treed11b607a76266c6bd2b063705eabd79b55c6f7c3
parent6cc8183d94ca347c0553b8ccb57c04c94f174169
ui: display "no route to host" error as host entry rather than abort

When a host is reported as unreachable in response to a particular
network probe, the Windows version of the mtr UI had the unfortuante
behavior of exiting and and printing a terse message.  This is
surprising to a user, who would expect mtr probes and reporting to
continue.

With this change, probing continues and a status reading
"no route to host" is displayed in the probe report.

This change will also improve the reporting of the Unix version of
mtr, now specifying "no route to host" instead of misleadingly
indicating that no reply has been received.

This fixes issue #179.
ui/cmdpipe.c
ui/cmdpipe.h
ui/curses.c
ui/display.c
ui/display.h
ui/net.c
ui/net.h