With the consideration of symmetry, since we display the local hostname with its source address, we should also display the remote hostname with its remote address.
This change also adds more information when running multiple mtr as #345 intended to do.
To keep the symmetry, codes were added following the original style, namely replicas of localaddr and net_localaddr were made.
The new static char array remoteaddr can be used in other modes like report or gtk. This consideration is for further development. Not to be addressed in this PR.
This PR is a further extension of #345
With the consideration of symmetry, since we display the local hostname with its source address, we should also display the remote hostname with its remote address.
This change also adds more information when running multiple
mtr
as #345 intended to do.To keep the symmetry, codes were added following the original style, namely replicas of
localaddr
andnet_localaddr
were made.The new static char array
remoteaddr
can be used in other modes like report or gtk. This consideration is for further development. Not to be addressed in this PR.