Fix display of ssh port on anti-lockout rule display in GUI.

This commit is contained in:
jim-p 2011-07-28 14:23:02 -04:00
parent 001c9bed5e
commit 1f82f5e0bc

View File

@ -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">&nbsp;</td>