mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-05 02:34:38 +02:00
add on-login / on-up & on-logout / on-down edit script
This commit is contained in:
parent
b0bc35e2be
commit
f6ff09957e
12 changed files with 214 additions and 111 deletions
|
@ -104,6 +104,8 @@ class MikrotikPppoe
|
|||
->setArgument('local-address', (!empty($pool['local_ip'])) ? $pool['local_ip']: $pool['pool_name'])
|
||||
->setArgument('remote-address', $pool['pool_name'])
|
||||
->setArgument('rate-limit', $rate)
|
||||
->setArgument('on-up', $new_plan['on_login'])
|
||||
->setArgument('on-down', $new_plan['on_logout'])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue