Better output for fragmented packets.

FossilOrigin-Name: 983e94f22cb0c373df89d7585687bffafc64285db8f28d1bfb6f58c0e7819c9d
This commit is contained in:
7u83@mail.ru 2014-08-17 19:44:13 +00:00
parent c47f46d947
commit db64ddb93e
1 changed files with 4 additions and 0 deletions

View File

@ -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){