]> git.ipfire.org Git - thirdparty/mtr.git/commit
Also try SOCK_RAW/IPPROTO_ICMP when other fail. 261/head
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Jun 2018 13:54:44 +0000 (15:54 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Jun 2018 13:54:44 +0000 (15:54 +0200)
commit455ad8a2b11fea8a5f5ab1c8885860eea92d0c9c
treee4b14f4ea61f082991a1e892efc20f90312516a6
parentd2fe63fb776784dc7c6ab7935641c963f00f3d70
Also try SOCK_RAW/IPPROTO_ICMP when other fail.

Under Linux Vserver SOCK_RAW is quite limited. Only IPPROTO_ICMP works,
so try to use it.

check_length_order() also doesn't work because sendto is also limited.
Fortunately under linux check_length_order is not needed as described
in comment around check_length_order.
packet/probe_unix.c