X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=send_common.c;h=f931fdaf75eb3630f52f59b7f5019b16f8aa490b;hb=7cb8fa26;hp=bc6892ccc2dbb0479e1cf6b8724417a32d1b35cc;hpb=7964fd8324c24679ca2ec85b6e9589f24079e089;p=paraslash.git diff --git a/send_common.c b/send_common.c index bc6892cc..f931fdaf 100644 --- a/send_common.c +++ b/send_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2009 Andre Noll + * Copyright (C) 2005-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -42,7 +42,7 @@ */ static int open_sender(unsigned l4type, int port) { - int fd, ret = para_listen(AF_UNSPEC, l4type, port); + int fd, ret = para_listen_simple(l4type, port); if (ret < 0) return ret; @@ -477,7 +477,7 @@ int parse_fec_url(const char *arg, struct sender_command_data *scd) goto out; } /* use default fec parameters. */ - scd->max_slice_bytes = 1490; + scd->max_slice_bytes = 1472; scd->slices_per_group = 16; scd->data_slices_per_group = 14; ret = 0;