chiark / gitweb /
networkd: netdev - allow setting MACAddress in .netdev files
authorTom Gundersen <teg@jklm.no>
Sat, 14 Jun 2014 13:38:35 +0000 (15:38 +0200)
committerTom Gundersen <teg@jklm.no>
Sat, 14 Jun 2014 13:38:35 +0000 (15:38 +0200)
commit96c907429e3224289fd360b8d9c8fdc573f4363b
tree846d558be89fc1f989fe9096cb0a5e2aabed4365
parentd9876a527f62e85c3c972bc5f45ad872cb4958c1
networkd: netdev - allow setting MACAddress in .netdev files

It may sometimes be necessary to specify the MAC address of a netdev.
Let us set the correct one from the get-go, rather than having the
kernel generate a random one, and then change it after.
src/network/networkd-netdev-gperf.gperf
src/network/networkd-netdev.c
src/network/networkd-tunnel.c
src/network/networkd-veth.c
src/network/networkd.h