aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ipsvd/tcpudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsvd/tcpudp.c b/ipsvd/tcpudp.c
index 66f44e9a6..d2e34e3e8 100644
--- a/ipsvd/tcpudp.c
+++ b/ipsvd/tcpudp.c
@@ -288,7 +288,7 @@ int tcpudpsvd_main(int argc, char **argv)
288 remote.len = sa_len; 288 remote.len = sa_len;
289 conn = accept(sock, &remote.sa, &remote.len); 289 conn = accept(sock, &remote.sa, &remote.len);
290 } else { 290 } else {
291 /* In case we won't be able to recover local below. 291 /* In case recv_from_to won't be able to recover local addr.
292 * Also sets port - recv_from_to is unable to do it. */ 292 * Also sets port - recv_from_to is unable to do it. */
293 local = *lsa; 293 local = *lsa;
294 conn = recv_from_to(sock, NULL, 0, MSG_PEEK, &remote.sa, &local.sa, sa_len); 294 conn = recv_from_to(sock, NULL, 0, MSG_PEEK, &remote.sa, &local.sa, sa_len);