diff --git a/pkg/udpproxy/session.go b/pkg/udpproxy/session.go index e5afc77..6a760d4 100644 --- a/pkg/udpproxy/session.go +++ b/pkg/udpproxy/session.go @@ -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()