* bug fix for CLI retry attempts (should be ignored)

This commit is contained in:
Scott Powell
2025-04-30 18:10:58 +10:00
parent e6325db72b
commit f261599608

View File

@@ -476,7 +476,7 @@ protected:
const char *command = (const char *) &data[5]; const char *command = (const char *) &data[5];
char *reply = (char *) &temp[5]; char *reply = (char *) &temp[5];
if (is_retry) { if (is_retry) {
temp[0] = 0; *reply = 0;
#if MAX_NEIGHBOURS #if MAX_NEIGHBOURS
} else if (memcmp(command, "neighbors", 9) == 0) { } else if (memcmp(command, "neighbors", 9) == 0) {
char *dp = reply; char *dp = reply;