summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/vlan-protocol.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-10-07 19:57:01 +0200
committerChristian Breunig <christian@breunig.cc>2026-10-31 09:58:29 +0000
commit710d0a19b25262fe77a6ebd4a62a5c427a1efa6f (patch)
tree33d8412868406a43e5d4cad82da01d394ff0c1ee /interface-definitions/include/interface/vlan-protocol.xml.i
parent9f75f7bf6c143ee3ba7522d281f3a930634cbd83 (diff)
downloadvyos-1x-710d0a19b25262fe77a6ebd4a62a5c427a1efa6f.tar.gz
vyos-1x-710d0a19b25262fe77a6ebd4a62a5c427a1efa6f.zip
interfaces: T3871: only give a name to a device of its own kind
A recorded slot was enough to claim a name, whatever turned up in it. Pull a modem and put an ordinary USB NIC in the same port and the NIC was handed wwan0 - a name 'interfaces wwan' reads, so a modem's configuration would be applied to a card which can not carry it. The reverse was already handled. Require the device to belong to the namespace the name is read under. If it does not, the name stays reserved for the hardware that earned it and the newcomer is named as what it is.
Diffstat (limited to 'interface-definitions/include/interface/vlan-protocol.xml.i')
0 files changed, 0 insertions, 0 deletions