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:
parent
bf47e436d8
commit
93604f3181
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user