credentials: fix tshark output.

Change-Id: Idd13b20db07567fee3c6cf13c203e9ad24b6ed35
Reviewed-on: https://code.wireshark.org/review/33767
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Dario Lombardo 2019-06-28 23:22:36 +02:00 committed by Alexis La Goutte
parent 03807b5050
commit 6335ede165
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static void credentials_draw(void *p _U_)
{
printf("===================================================================\n");
printf("%-10s %-16s %-16s %-16s\n", "Packet", "Protocol", "Username", "Info");
printf("------ -------- -------- --------\n");
printf("------ -------- -------- --------\n");
for (guint i = 0; i < wmem_array_get_count(credentials); i++) {
tap_credential_t* auth = (tap_credential_t*)wmem_array_index(credentials, i);
printf("%-10u %-16s %-16s %-16s\n", auth->num, auth->proto, auth->username, auth->info ? auth->info : "");