Revision 3853b436
Added by Phil Davis over 10 years ago
usr/local/www/services_snmp.php | ||
---|---|---|
425 | 425 |
if ($lip == $pconfig['bindip']) |
426 | 426 |
$selected = "selected=\"selected\""; |
427 | 427 |
?> |
428 |
<option value="<?=$ldescr;?>" <?=$selected;?>>
|
|
429 |
<?=htmlspecialchars($lip['name']);?>
|
|
428 |
<option value="<?=$lip;?>" <?=$selected;?>>
|
|
429 |
<?=htmlspecialchars($ldescr);?>
|
|
430 | 430 |
</option> |
431 | 431 |
<?php endforeach; |
432 | 432 |
unset($listenips); |
Also available in: Unified diff
Fix SNMP Bind Interface list in master
The format of the array returned by get_possible_listen_ips() was changed.
This use of the returned array was not quite changed correctly. This fixes it so the drop-down list of SNMP Bind Interfaces is displayed correctly.
Note that the change to get_possible_listen_ips() (which also moved the function from system.inc to interfaces.inc) and associated effects is only in master. It has not been applied to RELENG_2_2 yet. So this fix is only needed in master.
I noticed this when using various files from master on a test system.