summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorPatrick Plenefisch2012-08-30 01:21:33 +0200
committerMichael Brown2012-09-10 16:31:14 +0200
commit8e4faa094824cae9633ad512ea40c12805435f82 (patch)
tree9e92aa5f3c7f29ca47b378704233ec5863b8db80 /src/config
parent[smbios] Default to "hex" type for non-string SMBIOS settings (diff)
downloadipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.gz
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.xz
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.zip
[cmdline] Add standalone "nslookup" command
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 78ae93c43..81519779c 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -247,6 +247,9 @@ REQUIRE_OBJECT ( cpuid_cmd );
#ifdef SYNC_CMD
REQUIRE_OBJECT ( sync_cmd );
#endif
+#ifdef NSLOOKUP_CMD
+REQUIRE_OBJECT ( nslookup_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 638320a46..9f0bb521b 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -119,6 +119,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define MENU_CMD /* Menu commands */
#define LOGIN_CMD /* Login command */
#define SYNC_CMD /* Sync command */
+//#define NSLOOKUP_CMD /* DNS resolving command */
//#define TIME_CMD /* Time commands */
//#define DIGEST_CMD /* Image crypto digest commands */
//#define LOTEST_CMD /* Loopback testing commands */