diff --git a/tap/tlstapper/bpf/common.c b/tap/tlstapper/bpf/common.c index 6d8a9dc2d..423638777 100644 --- a/tap/tlstapper/bpf/common.c +++ b/tap/tlstapper/bpf/common.c @@ -145,7 +145,7 @@ static __always_inline void output_ssl_chunk(struct pt_regs *ctx, struct ssl_inf } static __always_inline struct ssl_info lookup_ssl_info(struct pt_regs *ctx, struct bpf_map_def* map_fd, __u64 pid_tgid) { - struct ssl_info *infoPtr = bpf_map_lookup_elem(&ssl_write_context, &pid_tgid); + struct ssl_info *infoPtr = bpf_map_lookup_elem(map_fd, &pid_tgid); struct ssl_info info = {}; if (infoPtr == NULL) { diff --git a/tap/tlstapper/tlstapper_bpfeb.o b/tap/tlstapper/tlstapper_bpfeb.o index e946989b1..b95256770 100644 Binary files a/tap/tlstapper/tlstapper_bpfeb.o and b/tap/tlstapper/tlstapper_bpfeb.o differ diff --git a/tap/tlstapper/tlstapper_bpfel.o b/tap/tlstapper/tlstapper_bpfel.o index 7d1f8a6fd..519e782bf 100644 Binary files a/tap/tlstapper/tlstapper_bpfel.o and b/tap/tlstapper/tlstapper_bpfel.o differ