diff options
Diffstat (limited to 'samples/bpf/sockex1_user.c')
-rw-r--r-- | samples/bpf/sockex1_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/sockex1_user.c b/samples/bpf/sockex1_user.c index 34a443f..678ce46 100644 --- a/samples/bpf/sockex1_user.c +++ b/samples/bpf/sockex1_user.c @@ -40,7 +40,7 @@ int main(int ac, char **argv) key = IPPROTO_ICMP; assert(bpf_lookup_elem(map_fd[0], &key, &icmp_cnt) == 0); - printf("TCP %lld UDP %lld ICMP %lld packets\n", + printf("TCP %lld UDP %lld ICMP %lld bytes\n", tcp_cnt, udp_cnt, icmp_cnt); sleep(1); } |