]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[settings] Display canonical setting name in output of "show" command
authorMichael Brown <mcb30@ipxe.org>
Tue, 22 Mar 2011 19:12:10 +0000 (19:12 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 22 Mar 2011 20:13:50 +0000 (20:13 +0000)
commit5fbd0207b269ca555dd904e297128ae3e9c0e984
tree5920f64050f37f3d7be226c279fbe02200779541
parentba8dd804879c1b2e36b414ea6622952836927d45
[settings] Display canonical setting name in output of "show" command

Enable the "show" command to display the full, canonicalised name of
the fetched setting.  For example:

  iPXE> show mac
  net0/mac:hex = 52:54:00:12:34:56

  iPXE> dhcp && show ip
  DHCP (net0 52:54:00:12:34:56)... ok
  net0.dhcp/ip:ipv4 = 10.0.0.168

  iPXE> show net0/6
  net0.dhcp/dns:ipv4 = 10.0.0.6

Inspired-by: Glenn Brown <glenn@myri.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/settings.c
src/hci/commands/nvo_cmd.c
src/include/ipxe/settings.h