'/ppp/active/print'

This commit is contained in:
Ibnu Maksum 2022-04-23 01:13:17 +07:00
parent d53d85bb9f
commit 5df998874a
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

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";
}
}
?>