summaryrefslogtreecommitdiffstats
path: root/telnetd
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2021-05-21 10:25:16 -0500
committerJoel Sherrill <joel@rtems.org>2021-05-21 12:43:44 -0500
commitbfcd290c10c237fa9913ee1afc85b6796c0ad9b4 (patch)
tree306988a8f2a63b6e819091d435878e2587ff34e1 /telnetd
parentRemove ChangeLog files (diff)
downloadnetwork-demos-bfcd290c10c237fa9913ee1afc85b6796c0ad9b4.tar.bz2
Required changes to get back to a buildable state.
This primarily reflects changes since the legacy network stack was split into its own repository.
Diffstat (limited to 'telnetd')
-rw-r--r--telnetd/Makefile3
-rw-r--r--telnetd/init.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/telnetd/Makefile b/telnetd/Makefile
index e7ef1db..b4b65fd 100644
--- a/telnetd/Makefile
+++ b/telnetd/Makefile
@@ -32,7 +32,8 @@ CFLAGS_OPTIMIZE_V +=
CFLAGS_DEBUG_V += -v -qrtems_debug
LD_PATHS +=
-override LD_LIBS += -ltelnetd
+LD_LIBS += -ltelnetd
+LD_LIBS += -lnetworking
CFLAGS +=
diff --git a/telnetd/init.c b/telnetd/init.c
index 4637942..a4597b0 100644
--- a/telnetd/init.c
+++ b/telnetd/init.c
@@ -172,8 +172,9 @@ rtems_task Init(
#if defined(REMAIN_ON_CONSOLE)
remain_on_console = true;
#endif
-
+#if 0
rtems_global_shell_env.login_check = rtems_shell_login_check;
+#endif
rtems_telnetd_config.keep_stdio = remain_on_console;
rtems_telnetd_initialize();