Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/fp.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -95,13 +95,13 @@ 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;
Copy link
Owner Author

@smagill smagill Jul 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a sample issue report. facebook-smiley-face-for-comments

Click to share feedback:
Helpful!       Not Useful.


if (report_fpx && fpx) {
if (report_fpx && fpx && header) {

if (fpx->tcp_fp_len == 0) {
extractor_init(&x, data, len, fpx->tcp_fp, MAX_TCP_FP_LEN);
Expand Down
4 changes: 2 additions & 2 deletions src/pkt_proc.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -1112,7 +1112,7 @@ void* process_packet (unsigned char *ctx_ptr,
}
return NULL;
}
record->invalid++;
record->invalid = 1;
}

/*
Expand Down