mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Implement routing table raw output
This commit is contained in:
@@ -55,3 +55,14 @@ function getRouteInfo($checkAccess)
|
||||
return $rInfo;
|
||||
}
|
||||
|
||||
/*
|
||||
* Fetches raw output of ip route
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function getRouteInfoRaw()
|
||||
{
|
||||
exec('ip route list', $routes);
|
||||
return $routes;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user