diff options
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r-- | cpukit/libmisc/shell/shellconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index 3865c398f5..33d60f7e28 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -59,6 +59,7 @@ extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command; #if defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command; extern rtems_shell_cmd_t rtems_shell_ROUTE_Command; + extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command; #endif #endif @@ -325,6 +326,12 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[]; defined(CONFIGURE_SHELL_COMMAND_ROUTE) &rtems_shell_ROUTE_Command, #endif + + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \ + !defined(CONFIGURE_SHELL_COMMAND_NETSTATS)) || \ + defined(CONFIGURE_SHELL_COMMAND_NETSTATS) + &rtems_shell_NETSTATS_Command, + #endif #endif /* |