mirror of
				https://github.com/onyx-and-iris/q3rcon-proxy.git
				synced 2025-10-27 10:51:48 +00:00 
			
		
		
		
	log invalid response packets
This commit is contained in:
		
							parent
							
								
									dfcdb6a96a
								
							
						
					
					
						commit
						ca33a6a390
					
				| @ -65,7 +65,9 @@ func (s *Session) listen() error { | ||||
| 
 | ||||
| func (s *Session) proxyFrom(buf []byte) error { | ||||
| 	if !s.isResponsePacket(buf) { | ||||
| 		return nil | ||||
| 		err := errors.New("not a response packet") | ||||
| 		log.Error(err.Error()) | ||||
| 		return err | ||||
| 	} | ||||
| 
 | ||||
| 	s.updateTime = time.Now() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user