mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-10-31 12:50:30 -04:00 
			
		
		
		
	fix for None packet in rx thread
This patch updates the process_packet to ensure when we try to decode a packet we actually get one.
This commit is contained in:
		
							parent
							
								
									6cd7e99713
								
							
						
					
					
						commit
						d82a81a2c3
					
				| @ -105,6 +105,11 @@ class APRSDDupeRXThread(APRSDRXThread): | ||||
|         PluginProcessPacketThread for processing. | ||||
|         """ | ||||
|         packet = self._client.decode_packet(*args, **kwargs) | ||||
|         if not packet: | ||||
|             LOG.error( | ||||
|                 'No packet received from decode_packet.  Most likely a failure to parse' | ||||
|             ) | ||||
|             return | ||||
|         packet_log.log(packet) | ||||
|         pkt_list = packets.PacketList() | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user