Subject: | Problem (and maybe a solution) with ToS in Ping.pm 2.31 |
I've noticed that when I use UDP-echo with ToS to ping a list of hosts only the first host is pinged with the ToS value. The following pings have ToS == 0. For ICMP it works as expected. I'd a look in the Ping.pm module and located the problem to the "ping_udp" subroutine when it executes the "flush" code the ToS value is not restored. I borrowed the ToS set-up code from the "new" subroutine and added it to the "flush" path in "ping_udp" It seems to work. Regards, Torgny...
Message body is not shown because it is too large.