X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=udp_send.c;h=4678e936d620da06d736e779eaff21f1c3383145;hp=13d2a2ca20d52336f6743458cc4a060b8ec0ef36;hb=a5927501e41fa3fca2975452617474e78ffecc48;hpb=ed0c68b07ddbc130e033035baa1cc0862e511b46 diff --git a/udp_send.c b/udp_send.c index 13d2a2ca..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, NULL); + ret = para_connect_simple(IPPROTO_UDP, ut->host, ut->port); if (ret < 0) return ret; ut->fd = ret;