Parcourir la source

wlantest: Show encrypted version on injected frame in debug

Jouni Malinen il y a 14 ans
Parent
commit
902621e2b0
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      wlantest/inject.c

+ 1 - 0
wlantest/inject.c

@@ -256,6 +256,7 @@ static int wlantest_inject_prot(struct wlantest *wt, struct wlantest_bss *bss,
 	if (crypt == NULL)
 		return -1;
 
+	wpa_hexdump(MSG_DEBUG, "Inject frame (encrypted)", crypt, crypt_len);
 	ret = inject_frame(wt->monitor_sock, crypt, crypt_len);
 	os_free(crypt);