mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix display of ssh port on anti-lockout rule display in GUI.
This commit is contained in:
parent
001c9bed5e
commit
1f82f5e0bc
@ -409,11 +409,9 @@ if($_REQUEST['undodrag']) {
|
||||
|
||||
$sshport = "";
|
||||
if (isset($config['system']['enablesshd'])) {
|
||||
$sshport = 22;
|
||||
if($config['system']['ssh']['port'] <> "")
|
||||
$sshport = $config['system']['ssh']['port'];
|
||||
$sshport = ($config['system']['ssh']['port']) ? $config['system']['ssh']['port'] : 22;
|
||||
}
|
||||
$sshport = "22<br/>";
|
||||
$sshport = "{$sshport}<br/>";
|
||||
?>
|
||||
<tr valign="top" id="antilockout">
|
||||
<td class="list"> </td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user