socket: fix broken connect for non broadcast traffic
authorPeter Lieven <pl@kamp.de>
Sun, 8 Jun 2014 12:20:12 +0000 (14:20 +0200)
committerPeter Lieven <pl@kamp.de>
Sun, 8 Jun 2014 12:20:12 +0000 (14:20 +0200)
commit7a750aea1cb90cd7630ba9e11bb567bd699bda4a
treeef4e6fda1c1a2752266df3eea7ae3e0660bf8ef5
parent8a52596b74e8e5cf371e3f6cbeae0ae87d2d558e
socket: fix broken connect for non broadcast traffic

commit 1c1e09a completely broke connects for non broadcast
traffic since it forgot to copy the server address into
the socket_storage struct.

Signed-off-by: Peter Lieven <pl@kamp.de>
lib/socket.c