mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
Update InterfaceController.php
This commit is contained in:
parent
82a4249c62
commit
dc61deab34
@ -74,7 +74,18 @@ class InterfaceController extends ApiControllerBase
|
||||
|
||||
return $arptable;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* retrieve system arp table contents
|
||||
* @return array
|
||||
*/
|
||||
public function flushArpAction()
|
||||
{
|
||||
$backend = new Backend();
|
||||
$response = $backend->configdpRun("interface flush arp");
|
||||
return array("message" => "OK");
|
||||
}
|
||||
|
||||
/**
|
||||
* retrieve system ndp table contents
|
||||
* @return array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user