Bug #175
closed
convert_real_interface_to_friendly_descr doesn't work for disabled interfaces
Added by Chris Buechler almost 15 years ago.
Updated almost 15 years ago.
Description
It needs to because some parts of the GUI use it to display interface info (system_gateways.php for one) where it currently shows a blank interface for disabled interfaces.
Files
- Status changed from New to Rejected
This is not true please find the real cause of this.
- Status changed from Rejected to New
As far as i can tell
[code]
$ifdescrs = get_configured_interface_with_descr(false, true);
foreach ($ifdescrs as $if => $ifname) {
if ($if $interface || $ifname $interface)
return $ifname;
}
[/code]
This is the code from that function so there is something else.
Yes, and get_configured_interface_with_descr(false,true) does return disabled interfaces as it should. I spent time digging through the functions adding debug logging seeing where it went wrong. The interface list works, but it later fails, and I'm not sure where. Config attached that replicates this, browse to system_gateways.php and see blank spot under "Interface" on the OPT1 route.
- Status changed from New to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF