mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
$ldescr variable is not assigned a value and all 'Outgoing Network Interfaces' show Localhost as a name on UI
This commit is contained in:
parent
ec07dcfe94
commit
29257358e7
@ -302,7 +302,7 @@ function show_advanced_dns() {
|
||||
<select id="outgoing_interface" name="outgoing_interface[]" multiple="multiple" size="<?php echo $size; ?>">
|
||||
<option value="" <?php if (empty($pconfig['outgoing_interface']) || empty($pconfig['outgoing_interface'][0])) echo 'selected="selected"'; ?>>All</option>
|
||||
<?php
|
||||
foreach ($interface_addresses as $laddr):
|
||||
foreach ($interface_addresses as $laddr => $ldescr):
|
||||
$selected = "";
|
||||
if (in_array($laddr, $pconfig['outgoing_interface']))
|
||||
$selected = 'selected="selected"';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user