firewall: nicer to sort them

This commit is contained in:
Franco Fichtner 2018-11-08 23:00:35 +01:00
parent 10c9612817
commit ed4bf40bbd

View File

@ -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