Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5df998874a |
@ -95,7 +95,7 @@ foreach ($d as $ds){
|
|||||||
$client->sendSync($setRequest);
|
$client->sendSync($setRequest);
|
||||||
|
|
||||||
//remove hotspot active
|
//remove hotspot active
|
||||||
$onlineRequest = new RouterOS\Request('/ppp/secret/print');
|
$onlineRequest = new RouterOS\Request('/ppp/active/print');
|
||||||
$onlineRequest->setArgument('.proplist', '.id');
|
$onlineRequest->setArgument('.proplist', '.id');
|
||||||
$onlineRequest->setQuery(RouterOS\Query::where('name', $c['username']));
|
$onlineRequest->setQuery(RouterOS\Query::where('name', $c['username']));
|
||||||
$id = $client->sendSync($onlineRequest)->getProperty('.id');
|
$id = $client->sendSync($onlineRequest)->getProperty('.id');
|
||||||
@ -110,5 +110,3 @@ foreach ($d as $ds){
|
|||||||
echo " : ACTIVE \r\n";
|
echo " : ACTIVE \r\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
Reference in New Issue
Block a user