[qmp-system] Use two characters in short interface names
Virtual devices for an interface use a stripped-down version of the
name, eth0=>e0. Before DSA, eth0.1/eth0.2/wlan0 became e0_1, e0_2 and
w0. With DSA, lan1/lan2/wan/wlan0 would become l1/l2/w/w0.
To avoid confusions (e.g., wan0/wlan0 would both become w0), use
two characters: eth0.1/eth0.2/wlan0 become et0_1, et0_2 and wl0,
and lan1/lan2/wan/wlan0 become la1/la2/wa/wl0.
Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
Please register or sign in to comment