From f26159960846f509c08e494ac66a4b827b422030 Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Wed, 30 Apr 2025 18:10:58 +1000 Subject: [PATCH] * bug fix for CLI retry attempts (should be ignored) --- examples/simple_repeater/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple_repeater/main.cpp b/examples/simple_repeater/main.cpp index fca40b20..332ba3a7 100644 --- a/examples/simple_repeater/main.cpp +++ b/examples/simple_repeater/main.cpp @@ -476,7 +476,7 @@ protected: const char *command = (const char *) &data[5]; char *reply = (char *) &temp[5]; if (is_retry) { - temp[0] = 0; + *reply = 0; #if MAX_NEIGHBOURS } else if (memcmp(command, "neighbors", 9) == 0) { char *dp = reply;