traviscross / mtr

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

Issue for `mtr-packet` while building customized version of mtr #470

Open Arunmor1510 opened 1 year ago

Arunmor1510 commented 1 year ago

When people try to build and test their own version of mtr, if they try to execute ./mtr directly from the building dir, they may ignore that the wrong mtr-packet binary is invoked if they have already installed another version of mtr don't have environment variable MTR_PACKET set, which potentially leads to wrong result.

It would be nice if there's a description on such behavior in README file, or make mtr try to load mtr-packet from current directory first.

This happened when I encountered an issue about SO_BINDTODEVICE, and I hope that mtr can get a new release version so Linux distros can update their mtr package.