mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
firewall: nicer to sort them
This commit is contained in:
parent
10c9612817
commit
ed4bf40bbd
@ -117,10 +117,10 @@ function filter_core_antilockout_ports()
|
||||
$lockout_ports[] = empty($config['system']['ssh']['port']) ? "22" : $config['system']['ssh']['port'];
|
||||
}
|
||||
}
|
||||
sort($lockout_ports);
|
||||
return $lockout_ports;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* recursively collect port alias(es) contents
|
||||
* @param $aliasname string alias name or null to fetch all aliases
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user