fix "packet loss" parsing in shell_ping library