Introduce per group slice sizes.
[paraslash.git] / udp_send.c
index adf233979c31e2aff79ecdf94b5b16fd6f8765da..0343feb633c8d34319c70320e0081c701d18d0fe 100644 (file)
@@ -342,7 +342,6 @@ static int udp_com_add(struct sender_command_data *scd)
        sc = ut->sc = para_calloc(sizeof(*sc));
        ut->fcp.slices_per_group      = scd->slices_per_group;
        ut->fcp.data_slices_per_group = scd->data_slices_per_group;
-       ut->fcp.max_slice_bytes       = scd->max_slice_bytes;
        ut->fcp.init_fec              = udp_init_fec;
        ut->fcp.send_fec              = udp_send_fec;
 
@@ -381,9 +380,8 @@ static char *udp_info(void)
 
        list_for_each_entry(sc, &targets, node) {
                struct udp_target *ut = sc->private_data;
-               char *tmp = make_message("%s%s/%u:%u:%u ",
+               char *tmp = make_message("%s%s/%u:%u ",
                        tgts ? : "", sc->name,
-                       ut->fcp.max_slice_bytes,
                        ut->fcp.data_slices_per_group,
                        ut->fcp.slices_per_group
                );