iface_create() creates an interface but failed to initialize its MAC
address. (Fortunately, this was only used by STP, which has not been
known to be tested recently anyhow.)
This is also needed for /proc/net/bonding and /proc/net/vlan, hence fixing
the bug now.
iface->enabled = true;
iface->delay_expires = LLONG_MAX;
+ netdev_nodev_get_etheraddr(name, iface->mac);
+
if (!netdev_nodev_get_flags(name, &flags)) {
iface->enabled = (flags & NETDEV_UP) != 0;
}