Compare commits

...

1 Commits
5.3 ... 5.4

Author SHA1 Message Date
5df998874a '/ppp/active/print' 2022-04-23 01:13:17 +07:00

View File

@ -95,7 +95,7 @@ foreach ($d as $ds){
$client->sendSync($setRequest);
//remove hotspot active
$onlineRequest = new RouterOS\Request('/ppp/secret/print');
$onlineRequest = new RouterOS\Request('/ppp/active/print');
$onlineRequest->setArgument('.proplist', '.id');
$onlineRequest->setQuery(RouterOS\Query::where('name', $c['username']));
$id = $client->sendSync($onlineRequest)->getProperty('.id');
@ -110,5 +110,3 @@ foreach ($d as $ds){
echo " : ACTIVE \r\n";
}
}
?>