Skip to content
Snippets Groups Projects
Commit cdfe7b30 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix broken initiailization of struct

parent 1cd51082
No related branches found
No related tags found
No related merge requests found
...@@ -529,7 +529,7 @@ static int recvfrom_destip( int socket, void *buf, int len, struct sockaddr *fro ...@@ -529,7 +529,7 @@ static int recvfrom_destip( int socket, void *buf, int len, struct sockaddr *fro
struct iovec iov[1]; struct iovec iov[1];
char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))]; char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))];
struct cmsghdr *cmsgptr; struct cmsghdr *cmsgptr;
struct msghdr msg = {0}; struct msghdr msg = {};
iov[0].iov_base = buf; iov[0].iov_base = buf;
iov[0].iov_len = len; iov[0].iov_len = len;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment