Better output for fragmented packets.
FossilOrigin-Name: 983e94f22cb0c373df89d7585687bffafc64285db8f28d1bfb6f58c0e7819c9d
This commit is contained in:
parent
c47f46d947
commit
db64ddb93e
@ -85,6 +85,10 @@ int hdr_print(char *str, uint8_t *packet, int len)
|
||||
|
||||
|
||||
int bhlen = 4*hlen;
|
||||
if (CWTH_GET_FLAG_F(packet) && frag_offs!=0){
|
||||
s+=sprintf(s,"\tFragment data ...");
|
||||
return s-str;
|
||||
}
|
||||
|
||||
|
||||
if (len<bhlen+4){
|
||||
|
Loading…
Reference in New Issue
Block a user