mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add pppoe_users_sort()
This commit is contained in:
parent
d86c00f0ea
commit
4f1b515b1e
@ -367,6 +367,16 @@ function pptpd_users_sort() {
|
||||
usort($config['pptpd']['user'], "usercmp");
|
||||
}
|
||||
|
||||
function pppoe_users_sort() {
|
||||
global $g, $config;
|
||||
|
||||
function usercmp($a, $b) {
|
||||
return strcasecmp($a['name'], $b['name']);
|
||||
}
|
||||
|
||||
usort($config['pppoe']['user'], "usercmp");
|
||||
}
|
||||
|
||||
function staticroutes_sort() {
|
||||
global $g, $config;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user