small fix, error that could stop a peers listening port if someone sent the wrong packet size.