Skip to content

Commit

Permalink
Avoid using the peer_info_t when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Apr 28, 2024
1 parent 0607c37 commit fe65e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/edge_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ void process_udp (struct n3n_runtime_data *eee, const struct sockaddr *sender_so
size_t msg_type;
uint8_t from_supernode;
uint8_t via_multicast;
peer_info_t *sn = NULL;
struct peer_info *sn = NULL;
n2n_sock_t sender;
n2n_sock_t * orig_sender = NULL;
uint32_t header_enc = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/sn_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ static int process_udp (struct n3n_runtime_data * sss,
size_t idx;
size_t msg_type;
uint8_t from_supernode;
peer_info_t *sn = NULL;
struct peer_info *sn = NULL;
n2n_sock_t sender;
n2n_sock_t *orig_sender;
macstr_t mac_buf;
Expand Down

0 comments on commit fe65e1d

Please sign in to comment.