aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/socket.c')
-rw-r--r--Source/charon/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/charon/socket.c b/Source/charon/socket.c
index b98d04540..1dab6205c 100644
--- a/Source/charon/socket.c
+++ b/Source/charon/socket.c
@@ -61,6 +61,7 @@ status_t receiver(private_socket_t *this, packet_t **packet)
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate);
pkt->source = host_create(AF_INET, "0.0.0.0", 0);
+ pkt->destination = host_create(AF_INET, "0.0.0.0", 0);
/* do the read */
pkt->data.len = recvfrom(this->socket_fd, buffer, MAX_PACKET, 0,