diff --git a/net/portmapper/portmapper.go b/net/portmapper/portmapper.go index fdbb9ba32..9163076ca 100644 --- a/net/portmapper/portmapper.go +++ b/net/portmapper/portmapper.go @@ -763,6 +763,7 @@ func (c *Client) Probe(ctx context.Context) (res ProbeResult, err error) { meta, err := parseUPnPDiscoResponse(buf[:n]) if err != nil { c.logf("unrecognized UPnP discovery response; ignoring") + continue } c.logf("[v1] UPnP reply %+v, %q", meta, buf[:n]) res.UPnP = true