Prints no more non-sense if header is encrypted.
FossilOrigin-Name: 51167f99ee1eecb4f18243c96c8771c14c1670e9703ede6a8318f61032a8ea96
This commit is contained in:
parent
525685128e
commit
e95a74c2dc
@ -28,7 +28,16 @@
|
||||
int hdr_print(char *str, uint8_t *packet, int len)
|
||||
{
|
||||
|
||||
|
||||
|
||||
char *s = str;
|
||||
|
||||
if (CWTH_GET_PREAMBLE(packet)==01){
|
||||
s+=sprintf(s,"\tEncrypted data.");
|
||||
return s-str;
|
||||
}
|
||||
|
||||
|
||||
int hlen = CWTH_GET_HLEN(packet);
|
||||
int rid = CWTH_GET_RID(packet);
|
||||
int wbid = CWTH_GET_WBID(packet);
|
||||
|
Loading…
Reference in New Issue
Block a user