forked from kevinowino869/mitrobill
info if pppoe IP has been used by another customer
This commit is contained in:
@ -52,7 +52,7 @@ class MikrotikPppoe
|
||||
if (!empty($customer['pppoe_ip'])) {
|
||||
$setRequest->setArgument('local-address', $customer['pppoe_ip']);
|
||||
}else{
|
||||
$setRequest->setArgument('local-address', '');
|
||||
$setRequest->setArgument('local-address', '0.0.0.0');
|
||||
}
|
||||
$setRequest->setArgument('profile', $plan['name_plan']);
|
||||
$setRequest->setArgument('comment', $customer['fullname'] . ' | ' . $customer['email'] . ' | ' . implode(', ', User::getBillNames($customer['id'])));
|
||||
|
Reference in New Issue
Block a user