summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2018-05-03 14:15:11 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2018-08-02 10:25:37 +0200
commitb376ae131d9e99a90ddbee2015a2e19d67244ba1 (patch)
treed8a5fd2c217baae5ab62579f02fb8401fef8f22a /testsuite
parentipsec-tools: Apply patches from FreeBSD ports. (diff)
downloadrtems-libbsd-b376ae131d9e99a90ddbee2015a2e19d67244ba1.tar.bz2
ipsec-tools: Port libipsec, setkey and racoon.
Note that this replaces the libipsec from FreeBSD with the one provided by ipsec-tools.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/media01/test_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c
index c9d902dc..10947e4c 100644
--- a/testsuite/media01/test_main.c
+++ b/testsuite/media01/test_main.c
@@ -208,8 +208,17 @@ early_initialization(void)
#define SHELL_WPA_SUPPLICANT_COMMANDS
#endif
+#ifdef RTEMS_BSD_MODULE_NETIPSEC
+ #define SHELL_NETIPSEC_COMMANDS \
+ &rtems_shell_RACOON_Command, \
+ &rtems_shell_SETKEY_Command,
+#else
+ #define SHELL_NETIPSEC_COMMANDS
+#endif
+
#define CONFIGURE_SHELL_USER_COMMANDS \
SHELL_WPA_SUPPLICANT_COMMANDS \
+ SHELL_NETIPSEC_COMMANDS \
&bsp_interrupt_shell_command, \
&rtems_shell_ARP_Command, \
&rtems_shell_HOSTNAME_Command, \