Skip to content

Commit

Permalink
Print len
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Oct 6, 2023
1 parent 7ed9602 commit 657fc35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userland/examples_zc/zcount.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ void print_packet(pfring_zc_pkt_buff *buffer) {
fputs(bigbuf, stdout);
} else {
int i;
printf("[len=%u] ", buffer->len);
for(i = 0; i < buffer->len; i++)
printf("%02X ", pkt_data[i]);
printf("\n");
Expand Down

0 comments on commit 657fc35

Please sign in to comment.