Skip to content

Commit

Permalink
[BPF/UT] set RPF to strict as test provision for that.
Browse files Browse the repository at this point in the history
Make tests execute the path again after we introduced the option to
disable RPF.
  • Loading branch information
tomastigera committed Jun 17, 2024
1 parent 57e3760 commit d7cb0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion felix/bpf/ut/bpf_prog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ func objLoad(fname, bpfFsDir, ipFamily string, topts testOpts, polProg, hasHostC
VxlanPort: testVxlanPort,
PSNatStart: uint16(topts.psnaStart),
PSNatLen: uint16(topts.psnatEnd-topts.psnaStart) + 1,
Flags: libbpf.GlobalsNoDSRCidrs,
Flags: libbpf.GlobalsNoDSRCidrs | libbpf.GlobalsRPFOptionStrict,
LogFilterJmp: 0xffffffff,
}

Expand Down

0 comments on commit d7cb0d4

Please sign in to comment.