gluon/package/gluon-core/luasrc
Matthias Schiffer e93dca7cb3
gluon-core: primary-mac: replace all eth0/eth1 lookups with lan/wan
The netdev() lookup is confusing to use: whenever a interface does not
exist during boot (for example VLAN) or when the address is overridden
from board.json (which is not obvious at all), it will yield either no
address, or a different address than expected.

To avoid this confusion, using board.json-based interface() is
preferable. This converts all uses of netdev() to the corresponding
lan/wan lookups, except for the final fallback for eth0.
2020-05-08 19:56:36 +02:00
..
lib/gluon/upgrade gluon-core: primary-mac: replace all eth0/eth1 lookups with lan/wan 2020-05-08 19:56:36 +02:00
usr gluon-core: util: avoid unintended second return value from gsub() 2020-05-04 23:38:22 +02:00