X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/c72d679d2344a22f55889da6932754986fc0a7b9..571db1485179e0750e97fa5aa593237a7d554f87:/polypath.c diff --git a/polypath.c b/polypath.c index af52473..abbda21 100644 --- 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;