From cdf26c9cd0ff500770a4eed33e9789d045cf0443 Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Wed, 22 Feb 2023 09:49:10 -0500 Subject: [PATCH 1/2] examples/telnet_server: add missing newline The telnet example prints a line to the console, but it is not ended with a newline. When using pyterm, the last line is then never shown as it reads the console line by line and is waiting for the end of the line. This patch swaps use of `printf` for `puts` for the last line printed. This means the missing newline character gets added. This is also done to be consistent with the rest of the file, where puts is used whenever possible instead of printf. --- examples/telnet_server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/telnet_server/main.c b/examples/telnet_server/main.c index e0e9235a3a..aed0a26fb3 100644 --- a/examples/telnet_server/main.c +++ b/examples/telnet_server/main.c @@ -79,7 +79,7 @@ int main(void) /* start shell */ printf("All up, awaiting connection on port %u\n", CONFIG_TELNET_PORT); - printf("Local shell disabled"); + puts("Local shell disabled"); char line_buf[SHELL_DEFAULT_BUFSIZE]; shell_run(NULL, line_buf, SHELL_DEFAULT_BUFSIZE); From 378e5e2382317ab69c6c11efd671ae156daf00f0 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 22 Feb 2023 16:38:28 +0100 Subject: [PATCH 2/2] fib: document unused state --- sys/include/net/fib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/include/net/fib.h b/sys/include/net/fib.h index 42fe26295a..27898eb7d8 100644 --- a/sys/include/net/fib.h +++ b/sys/include/net/fib.h @@ -11,6 +11,8 @@ * @ingroup net * @brief FIB implementation * + * This module is unused by RIOT's networking stacks, see @ref net_gnrc_ipv6_nib_ft + * instead. * @{ * * @file