Skip to content

Commit 4595844

Browse files
authored
Merge pull request #54 from LakshK98/test-negative
event writer fix2
2 parents 13ded3c + 5238092 commit 4595844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/tools/event-writer/bpf_event_writer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ event_writer(xdp_md_t* ctx) {
293293
bpf_printk("PKTMON_NOTIFY_DROP sizes : pktmon_struct_size=%llu, drop_struct_size=%llu \n", pktmon_size, drop_size);
294294

295295
bpf_perf_event_output(ctx, &cilium_events, EBPF_MAP_FLAG_CURRENT_CPU , pkt_drp_elm, sizeof(struct pktmon_notify));
296-
pktmon_drp_elm->pktmon_header.metadata.drop_reason = 10;
296+
pkt_drp_elm->pktmon_header.metadata.drop_reason = 10;
297297
bpf_perf_event_output(ctx, &cilium_events, EBPF_MAP_FLAG_CURRENT_CPU , pkt_drp_elm, sizeof(struct pktmon_notify));
298298

299299
// Create Windows specific drop event with hardcoded reason code

0 commit comments

Comments
 (0)