chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udp, polypath: Log destination address in `some success' messages
[secnet]
/
polypath.c
diff --git
a/polypath.c
b/polypath.c
index af52473a8b840bc1939d3b8e1aaa87c2f97b7716..abbda21c4afcaf5d2bdcade49798fd75f345d196 100644
(file)
--- a/
polypath.c
+++ b/
polypath.c
@@
-440,7
+440,7
@@
static bool_t polypath_sendmsg(void *commst, struct buffer_if *buf,
int r=sendto(us->fd,buf->start,buf->size,
0,&dest->ia.sa,iaddr_socklen(&dest->ia));
udp_sock_experienced(0,&st->uc,&interf->socks,us,
-
1
,af, r,errno);
+
&dest->ia
,af, r,errno);
if (r>=0) {
reasonable=True;
break;