From 5e02888822cb1759bd326f6bdb9d960c2e6ea6ba Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 16 Jun 2015 13:18:38 +1000 Subject: Add the TCPDUMP command. --- rtemsbsd/rtems/rtems-bsd-shell-netcmds.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c index b34cab95..e6eea024 100644 --- a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c +++ b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c @@ -45,3 +45,12 @@ rtems_shell_cmd_t rtems_shell_ROUTE_Command = { NULL, /* alias */ NULL /* next */ }; + +rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = { + "tcpdump", /* name */ + "tcpdump [args]", /* usage */ + "net", /* topic */ + rtems_bsd_command_tcpdump, /* command */ + NULL, /* alias */ + NULL /* next */ +}; -- cgit v1.2.3