]> git.tue.mpg.de Git - paraslash.git/commitdiff
udp_send: Also mention the FEC parameters of all targets.
authorAndre Noll <maan@systemlinux.org>
Wed, 18 Mar 2009 19:16:03 +0000 (20:16 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Mar 2009 19:16:03 +0000 (20:16 +0100)
udp_send.c

index a21f478d78dd3c3c56f14196264ce8424b107254..79f384ab865c8227e19d710fb49cde43754bf44a 100644 (file)
@@ -289,9 +289,13 @@ static char *udp_info(void)
 
        list_for_each_entry(ut, &targets, node) {
                bool is_v6 = strchr(ut->host, ':') != NULL;
-               char *tmp = make_message("%s%s%s%s:%d ", tgts ? : "",
-                                        is_v6 ? "[" : "", ut->host,
-                                        is_v6 ? "]" : "", ut->port);
+               char *tmp = make_message("%s%s%s%s:%d/%u:%u:%u ", tgts ? : "",
+                       is_v6 ? "[" : "", ut->host,
+                       is_v6 ? "]" : "", ut->port,
+                       ut->fcp.max_slice_bytes,
+                       ut->fcp.data_slices_per_group,
+                       ut->fcp.slices_per_group
+               );
                free(tgts);
                tgts = tmp;
        }