]> git.ipfire.org Git - thirdparty/mtr.git/commit
ui: don't cast to void* when calling display_rawhost() 389/head
authorVincent Bernat <vincent@bernat.ch>
Mon, 8 Mar 2021 07:29:53 +0000 (08:29 +0100)
committerVincent Bernat <vincent@bernat.ch>
Mon, 8 Mar 2021 07:29:53 +0000 (08:29 +0100)
commit8c72b2cbc6ff9b9ca52ac6743bfa99d555bcb280
tree99445c5e418dc2493c6549aed9d2c3bdb1c0298d
parent35ae4bb360043693c831ea4440d20b341c21b04e
ui: don't cast to void* when calling display_rawhost()

The provided types are compatible with the function signature.
Moreover, this seems to hide a bug where `display_rawhost()` is called
with an address instead of an MPLS struct.
ui/net.c