Revision 980f3707

View differences:

ml.c
283 283
			debug("ML: sending packet with rconID:%d lconID:%d\n",msg_h.remote_con_id,msg_h.local_con_id);
284 284
			switch(sendPacket(socketfd, iov, 4, &udpgen.udpaddr)) {
285 285
				case MSGLEN:
286
					info("ML: sending message failed, reducing MTU from %d to %d (conID:%d lconID:%d msgsize:%d offset:%d)\n", connectbuf[con_id]->pmtusize, pmtu_decrement(connectbuf[con_id]->pmtusize), msg_h.remote_con_id, msg_h.local_con_id, msg_len, offset);
286 287
					connectbuf[con_id]->pmtusize = pmtu_decrement(connectbuf[con_id]->pmtusize);
287 288
					connectbuf[con_id]->delay = true;
288 289
					retry = true;
289
					offset = msg_len; // exit the while
290
					offset = msg_len + msg_h.len_mon_data_hdr; // exit the while
290 291
					break;
291 292
				case FAILURE:
292
					offset = msg_len; // exit the while
293
					info("ML: sending message failed (conID:%d lconID:%d msgsize:%d offset:%d)\n", msg_h.remote_con_id, msg_h.local_con_id, msg_len, offset);
294
					offset = msg_len + msg_h.len_mon_data_hdr; // exit the while
293 295
					break;
294 296
				case OK:
295 297
					//update

Also available in: Unified diff