summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2013-10-21 15:20:32 +0200
committerMichael Brown2013-10-21 16:21:37 +0200
commit6f43ba411da9466a54e27fa405c87b2e078a339a (patch)
tree8b69a73d6fc9e232ef69d45dc38d0ec77d25b870 /src/config
parent[ping] Add top-level ping() function to ping a host (diff)
downloadipxe-6f43ba411da9466a54e27fa405c87b2e078a339a.tar.gz
ipxe-6f43ba411da9466a54e27fa405c87b2e078a339a.tar.xz
ipxe-6f43ba411da9466a54e27fa405c87b2e078a339a.zip
[cmdline] Add "ping" command
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 13fa7db4..6d19370a 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -272,6 +272,9 @@ REQUIRE_OBJECT ( param_cmd );
#ifdef NEIGHBOUR_CMD
REQUIRE_OBJECT ( neighbour_cmd );
#endif
+#ifdef PING_CMD
+REQUIRE_OBJECT ( ping_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 00a327f2..2af521e2 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -133,6 +133,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define PCI_CMD /* PCI commands */
//#define PARAM_CMD /* Form parameter commands */
//#define NEIGHBOUR_CMD /* Neighbour management commands */
+//#define PING_CMD /* Ping command */
/*
* ROM-specific options