commit | 2edbe4d366fcc9c340093d6daedcb08b1f62911f | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Tue Jan 09 20:15:15 2018 +0100 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Jan 10 11:29:16 2018 +0100 |
tree | 668d4336c5e77d4af776ea9fe474cb089ded190d | |
parent | a3694bd3033a683e768d43ec740f667d50acf8d3 [diff] |
Sockets.cpp: Fix initialization of UDD socket Without this line, destination address for a UDD socket is left with incorrect value AF_UNSPEC. Later on when calling DatagramSocket:write(), sendto() fails with EINVAL. This commit fixes test SocketsTest.cpp. Change-Id: I6e1b7e743a781abdcf69aa9842b30be893633433