diff options
Diffstat (limited to 'src/net/udp.c')
| -rw-r--r-- | src/net/udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index 6ab3573..7b8afba 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -218,6 +218,8 @@ int readUdpSocket(sock_udp_t *src, sock_udp_t *dst, void *address, int len) } #endif + dst->sock = src->sock; + if( size < 0 ) { char str_ip[STR_IP_SIZE]; |