diff --git a/stream/dap_stream_pkt.c b/stream/dap_stream_pkt.c index a0ac038a27d809ee1467abbed9ba05454c88c5a4..d4cc85b829f3b8807deee96e3fd4cf08cb1eacb2 100644 --- a/stream/dap_stream_pkt.c +++ b/stream/dap_stream_pkt.c @@ -118,6 +118,8 @@ size_t dap_stream_pkt_write(struct dap_stream * sid, const void * data, uint32_t memcpy(pkt_hdr.sig,dap_sig,sizeof(pkt_hdr.sig)); pkt_hdr.size = sid->session->key->enc_na(sid->session->key, data,data_size,sid->buf, STREAM_BUF_SIZE_MAX); +// printf("*[dap_stream_pkt_write] size=%d key=0x%x _inheritor_size=%d\n", pkt_hdr.size, sid->session->key, +// sid->session->key->_inheritor_size); if(sid->conn_udp){ ret+=dap_udp_client_write(sid->conn,&pkt_hdr,sizeof(pkt_hdr));