dbg pkt shows source port.
FossilOrigin-Name: 0b51835e930d41dded92a0a940d2cb4af33197a12ff7a4298b7bc5a2e8edd6c2
This commit is contained in:
parent
f70e087396
commit
bf4f7430fb
@ -208,10 +208,10 @@ int cw_format_pkt(char *dst,int level,struct conn *conn, uint8_t * packet, int l
|
||||
switch (level) {
|
||||
case DBG_PKT_IN:
|
||||
if (cw_get_hdr_flag_f(packet)){
|
||||
s+=sprintf(s,"Fragment from %s",sock_addr2str(from));
|
||||
s+=sprintf(s,"Fragment from %s",sock_addr2str_p(from));
|
||||
}
|
||||
else{
|
||||
s+=sprintf(s,"From %s",sock_addr2str(from));
|
||||
s+=sprintf(s,"From %s",sock_addr2str_p(from));
|
||||
}
|
||||
break;
|
||||
case DBG_PKT_OUT:
|
||||
|
Loading…
Reference in New Issue
Block a user