Bug #6724
closedVLAN interface displayed wrong through interface assignment
100%
Description
On a fresh install of 2.3.2-RELEASE (amd64-full-install), there appears to be a bug at the VLAN assignments prompt. When assigning a LAN and WAN interface, a VLAN interface will show the entire interface name (IE: igb1_vlan100) but the parent interface name is stripped once you get to the step for assigning optional interfaces. I've attached a screenshot of this.
To replicate this select Option 1 for "Assign Interfaces" through the shell
Select the option to create a VLAN when presented with the prompt "Do VLANs need to be setup first?"
Once the VLAN is created, additional prompts are presented to assign WAN, LAN, and OPT1.
The VLAN interface will display properly when assigning WAN and LAN but once you get to the OPT1 assignment the interface name is stripped.
This will be very confusing for a lot of users. You can simply input the proper interface name and it'll work.
It looks like the web menu (/etc/rc.initial) is calling a script called "/etc/rc.initial.setports" when option 1 is selected. That script references the following function:ainterfaces_ports();
This function is defined under /etc/inc/config.console.inc. I imagine the bug is located there.
Files