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

Cette révision appartient à :
Scott Powell
2025-05-02 13:24:06 +10:00
Parent 73231b1d22
révision c0870960d6
+3
Voir le fichier
@@ -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
}