diff options
author | Valery Piashchynski <[email protected]> | 2021-11-25 15:31:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-11-25 15:31:24 +0300 |
commit | 6123a45bd77f50b137d46577089b7b43c692b2d1 (patch) | |
tree | fb688befd82ada5ee8fa466f3393b9db37b09538 /internal | |
parent | 6c5e3ab6c01d31caa2d14930c188bae697c5cd48 (diff) |
update goridge
print bad header in the error message
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/protocol.go | 3 |
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") } |