Patches for check_ping fails to handle Packet filtered error [sf#1629008] [#731]