repair ping packet parsing in creation of reply