summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-11-25 15:31:24 +0300
committerValery Piashchynski <[email protected]>2021-11-25 15:31:24 +0300
commit6123a45bd77f50b137d46577089b7b43c692b2d1 (patch)
treefb688befd82ada5ee8fa466f3393b9db37b09538 /internal
parent6c5e3ab6c01d31caa2d14930c188bae697c5cd48 (diff)
update goridge
print bad header in the error message Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/protocol.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/protocol.go b/internal/protocol.go
index e6e6e7ab..ba923ef5 100755
--- a/internal/protocol.go
+++ b/internal/protocol.go
@@ -89,9 +89,6 @@ func Pid(rl relay.Relay) (int64, error) {
return 0, err
}
- if !fr.VerifyCRC(fr.Header()) {
- return 0, errors.Str("CRC mismatch")
- }
if fr == nil {
return 0, errors.Str("nil frame received")
}