echo"An error occurred. Please check the system logs for more information.";
echo"An error occurred. Please check the system logs for more information.";
log_error("Zone: {$cpzone} - Captive portal could not determine client's MAC address. Disable MAC address filtering in captive portal if you do not need this functionality.");
log_error("Zone: {$cpzone} - Captive portal could not determine client's MAC address. Disable MAC address filtering in captive portal if you do not need this functionality.");
ob_flush();
ob_flush();
return;
return;
}
}
$clientmac=$tmpres;
$clientmac=$tmpres;
unset($tmpres);
unset($tmpres);
}
}
/* find out if we need RADIUS + RADIUSMAC or not */
/* find out if we need RADIUS + RADIUSMAC or not */