mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 03:10:18 +01:00
Merge pull request #951 from pi-hole/new/arp-flush
Add button for pihole arpflush on Pi-hole settings page
This commit is contained in:
@@ -745,6 +745,15 @@ function readAdlists()
|
||||
$error .= "Invalid privacy level (".$level.")!";
|
||||
}
|
||||
break;
|
||||
// Flush network table
|
||||
case "flusharp":
|
||||
exec("sudo pihole arpflush quiet", $output);
|
||||
$error = implode("<br>", $output);
|
||||
if(strlen($error) == 0)
|
||||
{
|
||||
$success .= "The network table has been flushed";
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
// Option not found
|
||||
|
||||
Reference in New Issue
Block a user