[netdevice] Add "ifname" setting
authorAndrew Widdersheim <amwiddersheim@gmail.com>
Sat, 16 Jan 2016 16:21:34 +0000 (11:21 -0500)
committerMichael Brown <mcb30@ipxe.org>
Mon, 18 Jan 2016 08:50:44 +0000 (08:50 +0000)
commit3fd81799ba3857fb45443bf085cd402656a90b2f
tree933a6b9b2ff4316ccb78df99a5a3bbf2702bb5cf
parentcc252605ce9e0e224fbc34f946b80e90d012dc42
[netdevice] Add "ifname" setting

Expose the network interface name (e.g. "net0") as a setting.  This
allows a script to obtain the name of the most recently opened network
interface via ${netX/ifname}.

Signed-off-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/netdev_settings.c