mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* repeater CLI: 'neighbors' command now responds with "-none-" if no neighbors
This commit is contained in:
parent
73231b1d22
commit
c0870960d6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue