We don't need to pass using reference.

This commit is contained in:
gamemann
2021-12-06 16:38:47 +00:00
parent ef996a6596
commit 3ebb0a763b

View File

@@ -499,7 +499,7 @@ int main(int argc, char *argv[])
__u64 allowed = 0; __u64 allowed = 0;
__u64 dropped = 0; __u64 dropped = 0;
if (bpf_map_lookup_elem(statsmap, &key, &stats) != 0) if (bpf_map_lookup_elem(statsmap, &key, stats) != 0)
{ {
fprintf(stderr, "Error performing stats map lookup.\n"); fprintf(stderr, "Error performing stats map lookup.\n");
} }