mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
				synced 2025-11-03 21:53:18 +00:00 
			
		
		
		
	Transceier52M: Make error response to an unknown command on UDP command interface more understandable.
Previously we just repeated the last response which could confuse a command sender.
This commit is contained in:
		@@ -759,6 +759,7 @@ void Transceiver::driveControl(size_t chan)
 | 
			
		||||
  }
 | 
			
		||||
  else {
 | 
			
		||||
    LOG(WARNING) << "bogus command " << command << " on control interface.";
 | 
			
		||||
    sprintf(response,"RSP ERR 1");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  mCtrlSockets[chan]->write(response, strlen(response) + 1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user