Fix lookup_ssl_info

This commit is contained in:
M. Mert Yildiran 2022-06-08 07:05:00 +03:00
parent f38d5ee43f
commit 4315313743
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A
3 changed files with 1 additions and 1 deletions

View File

@ -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) {

Binary file not shown.

Binary file not shown.