]> git.ipfire.org Git - thirdparty/mtr.git/commit
Set SO_BINDTODEVICE for -I 440/head
authorRobert Vollmer <github@robv.de>
Fri, 5 Aug 2022 07:58:41 +0000 (09:58 +0200)
committerRobert Vollmer <robert.vollmer@sap.com>
Fri, 5 Aug 2022 07:58:41 +0000 (09:58 +0200)
commit7a0320038a64594c138e69b1200c30428bd1c75c
treef59b4a886d685abf910e25c72a943dd943417992
parent327dd3f074fd43402b911e765c2f7d878e2f1966
Set SO_BINDTODEVICE for -I

This is done by traceroute and other tools as well. It requires
CAP_NET_RAW, but without it the -I option doesn't seem to have any
effect.
packet/command.c
packet/construct_unix.c
packet/probe.h
ui/cmdpipe.c