Revision 60dca067

View differences:

ml.c
280 280
			if(set_Monitoring_header_pkt_cb != NULL) {
281 281
				iov[1].iov_len = (set_Monitoring_header_pkt_cb) (&(connectbuf[con_id]->external_socketID), msg_type);
282 282
			}
283
			pkt_len = min(connectbuf[con_id]->pmtusize - iov[2].iov_len - iov[1].iov_len - iov[0].iov_len, msg_len - offset) ;
283
			pkt_len = min(connectbuf[con_id]->pmtusize - iov[2].iov_len - iov[1].iov_len - iov[0].iov_len, msg_len + msg_h.len_mon_data_hdr - offset) ;
284 284

  
285 285
			iov[3].iov_len = pkt_len;
286 286
			iov[3].iov_base = msg + offset;

Also available in: Unified diff