diff options
| -rw-r--r-- | api/bpf_native_test/BpfTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/bpf_native_test/BpfTest.cpp b/api/bpf_native_test/BpfTest.cpp index ce159762..4ab69b1e 100644 --- a/api/bpf_native_test/BpfTest.cpp +++ b/api/bpf_native_test/BpfTest.cpp @@ -148,7 +148,7 @@ class BpfRaceTest : public ::testing::Test { // Start several threads to send and receive packets with an eBPF program // attached to the socket. stop = false; - int prog_fd = bpfFdGet(TEST_PROG_PATH, 0); + int prog_fd = retrieveProgram(TEST_PROG_PATH); EXPECT_RESULT_OK(configurationMap.writeValue(ACTIVE_MAP_KEY, 0, BPF_ANY)); for (int i = 0; i < NUM_SOCKETS; i++) { |
