Revision 50779708
Added by Ermal LUÇI almost 14 years ago
usr/local/www/services_captiveportal.php | ||
---|---|---|
739 | 739 |
$ipaddr = get_interface_ip($ifdesc); |
740 | 740 |
if (is_ipaddr($ipaddr)) { |
741 | 741 |
$selected = ""; |
742 |
if ($ipaddr == $pconfig['radiussrcip_attribute'])
|
|
742 |
if ($ifdesc == $pconfig['radiussrcip_attribute'])
|
|
743 | 743 |
$selected= "selected"; |
744 | 744 |
echo "<option value='{$ifdesc}' {$selected}>{$ifdescr} - {$ipaddr}</option>\n"; |
745 | 745 |
} |
Also available in: Unified diff
Correct check