We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d094de commit 74c5119Copy full SHA for 74c5119
format.c
@@ -84,7 +84,7 @@ void format_setup(struct format* state, unsigned int flags){
84
}
85
86
void format_pkg(FILE* fp, struct format* state, const struct cap_header* cp){
87
- fprintf(fp, "[%4"PRIu64"]:%.8s:%.8s:", state->pktcount++, cp->nic, cp->mampid);
+ fprintf(fp, "[%4"PRIu64"]:%.8s:%.8s:", ++state->pktcount, cp->nic, cp->mampid);
88
if ( state->first ){
89
state->ref = cp->ts;
90
state->first = 0;
0 commit comments