X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_recv.c;h=365b6863087ca78c1bdc446099ff7f17c8b15c6c;hb=15e3068cd0b95a7ae37f8edc2eceea3b2a3a49a9;hp=8d1274bc1e919e703f3856cc8159269d33756f2c;hpb=b142089267ef501e438c3dc77ecf19bead3d4e58;p=paraslash.git diff --git a/udp_recv.c b/udp_recv.c index 8d1274bc..365b6863 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -168,7 +168,7 @@ static int udp_recv_open(struct receiver_node *rn) uint32_t port = RECV_CMD_OPT_UINT32_VAL(UDP, PORT, lpr); int ret; - ret = makesock(IPPROTO_UDP, 1, host, port, NULL); + ret = makesock(IPPROTO_UDP, true /* passive */, host, port, NULL); if (ret < 0) return ret; rn->fd = ret;