mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
socket: fix invalid length of AF_UNIX socket address
This commit is contained in:
parent
0c804bc328
commit
39afa0e8a2
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ retry: ret = io_sprint(&s->io, s->out.buf, s->out.buflen, &wbytes, smps, cnt);
|
|||
break;
|
||||
|
||||
case AF_UNIX:
|
||||
addrlen = SUN_LEN(&s->in.saddr.sun);
|
||||
addrlen = SUN_LEN(&s->out.saddr.sun);
|
||||
break;
|
||||
|
||||
#ifdef WITH_SOCKET_LAYER_ETH
|
||||
|
|
Loading…
Add table
Reference in a new issue