add monitor commands to actually express interest in new peers.

This commit is contained in:
gardners 2012-05-21 13:04:54 +09:30
parent c32268a922
commit 91e0b3ac27

View File

@ -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;