refactor: fix 'boundry' typo to 'boundary' (#982)

This commit is contained in:
Falke Carlsen
2025-09-25 10:43:57 +02:00
committed by GitHub
parent 9bd9826835
commit 86449949c5
8 changed files with 10 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ int8_t HDLCParser::parse(uint8_t *d, DataParserContext &ctx) {
// First and last byte should be HDLC_FLAG
if(h->flag != HDLC_FLAG || f->flag != HDLC_FLAG)
return DATA_PARSE_BOUNDRY_FLAG_MISSING;
return DATA_PARSE_BOUNDARY_FLAG_MISSING;
// Verify FCS
if(ntohs(f->fcs) != crc16_x25(d + 1, len - sizeof *f - 1))