X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=udp_send.c;h=4678e936d620da06d736e779eaff21f1c3383145;hp=7c4a8403b8e1bb5668b4302b602df7efd9f0c29c;hb=c751c276e9c9b0f4d96b7fba45744d52fd2783be;hpb=7964fd8324c24679ca2ec85b6e9589f24079e089 diff --git a/udp_send.c b/udp_send.c index 7c4a8403..4678e936 100644 --- a/udp_send.c +++ b/udp_send.c @@ -160,7 +160,7 @@ static int udp_init_session(struct udp_target *ut) if (ut->fd >= 0) /* nothing to do */ return 0; - ret = makesock(AF_UNSPEC, IPPROTO_UDP, 0, ut->host, ut->port); + ret = para_connect_simple(IPPROTO_UDP, ut->host, ut->port); if (ret < 0) return ret; ut->fd = ret;