Skip to content

Commit

Permalink
removed brackets from protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 2, 2023
1 parent b0105a4 commit cd0e92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ for(i = 0; i < ifpresentlistcounter; i++)
if(((ifpresentlist + i)->type & IF_HAS_NETLINK) == IF_HAS_NETLINK) po = "NETLINK";
if(((ifpresentlist + i)->type & IFTYPEMONACT) == IFTYPEMONACT) mode = "*";
else if(((ifpresentlist + i)->type & IFTYPEMON) == IFTYPEMON) mode = "+";
fprintf(stdout, "%3d\t%3d\t%02x%02x%02x%02x%02x%02x\t%02x%02x%02x%02x%02x%02x\t%s\t%-*s\t%s\t(%s)\n", (ifpresentlist + i)->wiphy, (ifpresentlist + i)->index,
fprintf(stdout, "%3d\t%3d\t%02x%02x%02x%02x%02x%02x\t%02x%02x%02x%02x%02x%02x\t%s\t%-*s\t%s\t%s\n", (ifpresentlist + i)->wiphy, (ifpresentlist + i)->index,
(ifpresentlist + i)->hwmac[0], (ifpresentlist + i)->hwmac[1], (ifpresentlist + i)->hwmac[2], (ifpresentlist + i)->hwmac[3], (ifpresentlist + i)->hwmac[4], (ifpresentlist + i)->hwmac[5],
(ifpresentlist + i)->vimac[0], (ifpresentlist + i)->vimac[1], (ifpresentlist + i)->vimac[2], (ifpresentlist + i)->vimac[3], (ifpresentlist + i)->vimac[4], (ifpresentlist + i)->vimac[5],
mode, IF_NAMESIZE, (ifpresentlist + i)->name, (ifpresentlist + i)->driver, po);
Expand Down

0 comments on commit cd0e92e

Please sign in to comment.