X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=udp_recv.c;h=ae2d49f1d44567034f849b7f833923af633e08ed;hb=294cc0a7623b16e3d2733a10b60ca1e8ace004f1;hp=7354945384e5f9ec47763d986044a2f90496f684;hpb=ed0c68b07ddbc130e033035baa1cc0862e511b46;p=paraslash.git diff --git a/udp_recv.c b/udp_recv.c index 73549453..ae2d49f1 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -181,7 +181,7 @@ static int udp_recv_open(struct receiver_node *rn) rn->private_data = para_calloc(sizeof(struct private_udp_recv_data)); purd = rn->private_data; - ret = makesock(AF_UNSPEC, IPPROTO_UDP, 1, c->host_arg, c->port_arg, NULL); + ret = makesock(IPPROTO_UDP, 1, c->host_arg, c->port_arg, NULL); if (ret < 0) goto err; purd->fd = ret;