traviscross / mtr

Official repository for mtr, a network diagnostic tool
http://www.bitwizard.nl/mtr/
GNU General Public License v2.0
2.64k stars 337 forks source link

How to specify local port for tcp protocol #433

Open freemindLi opened 2 years ago

freemindLi commented 2 years ago

Hey,We can see that mtr supports --localport parameter, but this parameter only works for UDP protocol. How can specify local port or not supported when using TCP protocol detection?

wenlxie commented 2 years ago

This local port parameter is only for UDP https://github.com/traviscross/mtr/blob/master/ui/mtr.c#L112