Skip to content

Commit

Permalink
Merge pull request #32 from H-Maktub/main
Browse files Browse the repository at this point in the history
Fixed payload_sock not being cleared
  • Loading branch information
hamishcoleman authored May 17, 2024
2 parents ea26e1f + acc885f commit 47e128b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/edge_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2596,6 +2596,7 @@ void process_udp (struct n3n_runtime_data *eee, const struct sockaddr *sender_so
// from here on, 'sn' gets used differently
for(i = 0; i < ra.num_sn; i++) {
n2n_sock_t payload_sock;
memset(&payload_sock, 0, sizeof(payload_sock));
skip_add = SN_ADD;

// bugfix for https://github.com/ntop/n2n/issues/1029
Expand Down

0 comments on commit 47e128b

Please sign in to comment.