mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not use the presence of lan as an indicator of having only one interface. Actually deduce that from the count of interfaces. It is perfectly legal on 2.0 to not have a lan interface and only opt/wan ones.
This commit is contained in:
parent
38b357bdb5
commit
f691243dac
@ -287,7 +287,7 @@ function update_description(itemnum) {
|
||||
<tr>
|
||||
<td colspan="2" class="list" height="12"> </td>
|
||||
</tr>
|
||||
<?php if($config['interfaces']['lan']): ?>
|
||||
<?php if(count($config['interfaces']) > 1): ?>
|
||||
<tr>
|
||||
<td colspan="2" valign="top" class="listtopic">Network Address Translation</td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user