summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2014-03-02 21:35:13 +0100
committerMichael Brown2014-03-03 00:57:47 +0100
commitf22c19f3fb53aa323f2297c62fc08f368b19cdc8 (patch)
tree06bbb082d7173fc0228dc0b435a2ff053e3fa535 /src/config
parent[tcpip] Add IP statistics collection as per RFC 4293 (diff)
downloadipxe-f22c19f3fb53aa323f2297c62fc08f368b19cdc8.tar.gz
ipxe-f22c19f3fb53aa323f2297c62fc08f368b19cdc8.tar.xz
ipxe-f22c19f3fb53aa323f2297c62fc08f368b19cdc8.zip
[cmdline] Add the "ipstat" 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 1f17fb26..98d3d8b2 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -287,6 +287,9 @@ REQUIRE_OBJECT ( ping_cmd );
#ifdef CONSOLE_CMD
REQUIRE_OBJECT ( console_cmd );
#endif
+#ifdef IPSTAT_CMD
+REQUIRE_OBJECT ( ipstat_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 0b45edfb..a714a0af 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -137,6 +137,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define NEIGHBOUR_CMD /* Neighbour management commands */
//#define PING_CMD /* Ping command */
//#define CONSOLE_CMD /* Console command */
+//#define IPSTAT_CMD /* IP statistics commands */
/*
* ROM-specific options