[rtems-libbsd commit] ftpd01: Add network shell commands

Sebastian Huber sebh at rtems.org
Fri Dec 20 14:29:28 UTC 2013


Module:    rtems-libbsd
Branch:    master
Commit:    4d642a0f0e4d52f7b42157ea68dfa575f66d2485
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=4d642a0f0e4d52f7b42157ea68dfa575f66d2485

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Dec 20 13:25:38 2013 +0100

ftpd01: Add network shell commands

---

 testsuite/ftpd01/test_main.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/testsuite/ftpd01/test_main.c b/testsuite/ftpd01/test_main.c
index 9f03153..c9290a1 100644
--- a/testsuite/ftpd01/test_main.c
+++ b/testsuite/ftpd01/test_main.c
@@ -93,8 +93,14 @@ test_main(void)
 #define CONFIGURE_SHELL_COMMANDS_INIT
 
 #include <bsp/irq-info.h>
-
-#define CONFIGURE_SHELL_USER_COMMANDS &bsp_interrupt_shell_command
+#include <rtems/netcmds-config.h>
+
+#define CONFIGURE_SHELL_USER_COMMANDS \
+	&bsp_interrupt_shell_command, \
+	&rtems_shell_PING_Command, \
+	&rtems_shell_ROUTE_Command, \
+	&rtems_shell_NETSTAT_Command, \
+	&rtems_shell_IFCONFIG_Command
 
 #define CONFIGURE_SHELL_COMMAND_CPUUSE
 #define CONFIGURE_SHELL_COMMAND_PERIODUSE




More information about the vc mailing list