Skip to content

Commit afa6c63

Browse files
koumajoscejkato2
andauthored
Coding style
Co-authored-by: Tomas Cejka <[email protected]>
1 parent f797124 commit afa6c63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

input/parser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,7 @@ void parse_packet(parser_opt_t *opt, struct timeval ts, const uint8_t *data, uin
617617
#ifdef WITH_PCAP
618618
if (opt->datalink == DLT_EN10MB) {
619619
data_offset = parse_eth_hdr(data, caplen, pkt);
620-
}
621-
else if (opt->datalink == DLT_LINUX_SLL){
620+
} else if (opt->datalink == DLT_LINUX_SLL) {
622621
data_offset = parse_sll(data, caplen, pkt);
623622
} else if (opt->datalink == DLT_RAW) {
624623
if ((data[0] & 0xF0) == 0x40) {

0 commit comments

Comments
 (0)