#!/usr/local/bin/php<?phprequire_once("config.inc");require_once("interfaces.inc");require_once("util.inc");$gateways = return_gateways_array(false, true, false);passthru("pfctl -d");foreach ($gateways as $gateway) { if ($gateway['ipprotocol'] === 'inet6') { passthru("ping6 -c 1 " . $gateway['gateway']); }; };passthru("pfctl -e");
<?phprequire_once("config.inc");require_once("interfaces.inc");require_once("util.inc");$gateways = return_gateways_array(false, true, false);passthru("pfctl -d");foreach ($gateways as $gateway) { if ($gateway['ipprotocol'] === 'inet6') { passthru("ping6 -c 1 " . $gateway['gateway']); }; };passthru("pfctl -e");