1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/posix/socket: fix ip member access

This commit is contained in:
Hendrik van Essen 2021-09-07 15:34:18 +02:00
parent bf47e436d8
commit 93604f3181

View File

@ -398,7 +398,7 @@ static void _sock_set_cb(socket_t *socket)
switch (socket->type) {
#ifdef MODULE_SOCK_IP
case SOCK_RAW:
sock_ip_set_cb(&socket->sock.ip, callback.ip, socket);
sock_ip_set_cb(&socket->sock->raw, callback.ip, socket);
break;
#endif
#ifdef MODULE_SOCK_TCP