Update InterfaceController.php

This commit is contained in:
Giuseppe De Marco 2017-09-24 16:22:26 +02:00 committed by GitHub
parent 82a4249c62
commit dc61deab34

View File

@ -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