* repeater CLI: 'neighbors' command now responds with "-none-" if no neighbors

This commit is contained in:
Scott Powell 2025-05-02 13:24:06 +10:00
parent 73231b1d22
commit c0870960d6

View file

@ -666,6 +666,9 @@ public:
while (*dp) dp++; // find end of string
}
#endif
if (dp == reply) { // no neighbours, need empty response
strcpy(dp, "-none-"); dp += 6;
}
*dp = 0; // null terminator
}