mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
add monitor commands to actually express interest in new peers.
This commit is contained in:
parent
c32268a922
commit
91e0b3ac27
@ -405,6 +405,10 @@ int monitor_process_command(int index,char *cmd)
|
||||
c->flags|=MONITOR_RHIZOME;
|
||||
else if (!strcasecmp(cmd,"ignore rhizome"))
|
||||
c->flags&=~MONITOR_RHIZOME;
|
||||
else if (!strcasecmp(cmd,"monitor peers"))
|
||||
c->flags|=MONITOR_PEERS;
|
||||
else if (!strcasecmp(cmd,"ignore peers"))
|
||||
c->flags&=~MONITOR_PEERS;
|
||||
else if (sscanf(cmd,"FASTAUDIO:%x:%d",&callSessionToken,&flag)==2)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user