mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-05-14 21:15:14 +00:00
* repeater CLI: 'neighbors' command now responds with "-none-" if no neighbors
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user