]> git.ipfire.org Git - thirdparty/mtr.git/commit
use addrs for static host ordering in curses 429/head
authorBrandon Ewing <brandon.ewing@warningg.com>
Fri, 13 May 2022 15:27:55 +0000 (10:27 -0500)
committerBrandon Ewing <brandon.ewing@warningg.com>
Fri, 13 May 2022 15:27:55 +0000 (10:27 -0500)
commit5beecb8cc4fa2b65c433ab294ace28696ac3b927
treea000d0e415d684a84344741f4e6186b7c080338a
parent852e5617fbf331cf292723702161f0ac9afe257c
use addrs for static host ordering in curses

Change d2552ca has the side effect of moving hosts around in the
multipath view, as the last host to reply to a packet was set as
addr.  Using addrs[0] istead of addr to draw the first host keeps
the ordering deterministic, in order of first reply.
ui/curses.c