Work around variations in icmp_[sr]eq output

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>