Hide Forgot
Description of problem: If destination is prohibited, ping6 shows transmitted packets and exits as if no error occured (exitcode 1), errors should lead to exitcode 2. ipv4 ping behaves correctly Version-Release number of selected component (if applicable): iputils-20160308-8.el7.x86_64 How reproducible: always Steps to Reproduce: ip route add prohibit ::20 ping6 -c 2 -w 1 ::20; echo EC=$? Actual results: PING ::20(::20) 56 data bytes ping: sendmsg: Permission denied ping: sendmsg: Permission denied --- ::20 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms EC=1 Expected results: zero counter of transmitted packets exit code is 2 Additional info:
*** This bug has been marked as a duplicate of bug 1362388 ***