diff --git a/src/fp.c b/src/fp.c index 513a89cc..16208661 100644 --- a/src/fp.c +++ b/src/fp.c @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2018 Cisco Systems, Inc. + * Copyright (c) 2018-2019 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -95,10 +95,10 @@ void fpx_init(struct fpx **fpx_handle) { * \return none */ void fpx_update (struct fpx *fpx, - const struct pcap_pkthdr *header, - const void *data, - unsigned int len, - unsigned int report_fpx) { + const struct pcap_pkthdr *header, + const void *data, + unsigned int len, + unsigned int report_fpx) { struct extractor x; if (report_fpx && fpx) { diff --git a/src/pkt_proc.c b/src/pkt_proc.c index 023bae34..931801e3 100644 --- a/src/pkt_proc.c +++ b/src/pkt_proc.c @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2016-2018 Cisco Systems, Inc. + * Copyright (c) 2016-2019 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1112,7 +1112,7 @@ void* process_packet (unsigned char *ctx_ptr, } return NULL; } - record->invalid++; + record->invalid = 1; } /*