set capability to ping/ping6.