From 774580c2bde4c8b126eed0a80d00cb22cbfb3193 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 14 Aug 2013 21:54:40 +0200 Subject: Make hostname available to C Code The boards often have a sane default for the hostname. Provide a C function for setting/getting it. Signed-off-by: Sascha Hauer --- net/dhcp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'net') diff --git a/net/dhcp.c b/net/dhcp.c index cafefcb402..ff54924762 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -830,7 +830,6 @@ BAREBOX_CMD_START(dhcp) BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END -BAREBOX_MAGICVAR_NAMED(global_hostname, global.hostname, "hostname to send or returned from DHCP request"); BAREBOX_MAGICVAR_NAMED(global_dhcp_bootfile, global.dhcp.bootfile, "bootfile returned from DHCP request"); BAREBOX_MAGICVAR_NAMED(global_dhcp_rootpath, global.dhcp.rootpath, "rootpath returned from DHCP request"); BAREBOX_MAGICVAR_NAMED(global_dhcp_vendor_id, global.dhcp.vendor_id, "vendor id to send to the DHCP server"); -- cgit v1.2.3