Skip to content

Commit

Permalink
Update nffile_compat.c
Browse files Browse the repository at this point in the history
No changes on old v.1.6.x files
  • Loading branch information
phaag authored Apr 1, 2024
1 parent 163bf0f commit f2c7375
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/nfdump/compat_1_6_x/nffile_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,6 @@ static inline record_header_t *ConvertRecordV2(recordHandle_t *handle, common_re
nelXlatePort->blockEnd = nelXlatePort->blockStart + nelXlatePort->blockSize - 1;
p = (void *)tpl->data;
} break;
case EX_ETHERTYPE: {
tpl_ext_28_t *tpl = (tpl_ext_28_t *)p;
PushExtension(recordHeader, EXetherType, etherType);
MapExtension(EXetherTypeID, etherType);
etherType->etherType = tpl->etherType;
p = (void *)tpl->data;
} break;
}
}

Expand Down Expand Up @@ -466,4 +459,4 @@ static inline record_header_t *ConvertRecordV2(recordHandle_t *handle, common_re
dbg_printf("V3 record: elements: %u, size: %u\n", recordHeader->numElements, recordHeader->size);
return record_ptr;

} // End of ConvertRecordV2
} // End of ConvertRecordV2

0 comments on commit f2c7375

Please sign in to comment.