From: Andre Noll <maan@systemlinux.org>
Date: Wed, 18 Mar 2009 19:16:03 +0000 (+0100)
Subject: udp_send: Also mention the FEC parameters of all targets.
X-Git-Tag: v0.3.4~27
X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=7fc9d24db611b28f9a3dd15ddcf83ca216730ab1;p=paraslash.git

udp_send: Also mention the FEC parameters of all targets.
---

diff --git a/udp_send.c b/udp_send.c
index a21f478d..79f384ab 100644
--- a/udp_send.c
+++ b/udp_send.c
@@ -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;
 	}