Fix ping output parsing.