Skip to content

Commit

Permalink
shorten TX/RX frame type output
Browse files Browse the repository at this point in the history
  • Loading branch information
jmberg-intel committed Mar 13, 2012
1 parent 135e65d commit 58e3434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info.c
Expand Up @@ -319,7 +319,7 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
if (!printed)
printf("\t\t * %s:", iftype_name(nla_type(nl_if)));
printed = true;
printf(" 0x%.4x", nla_get_u16(nl_ftype));
printf(" 0x%.2x", nla_get_u16(nl_ftype));
}
if (printed)
printf("\n");
Expand All @@ -334,7 +334,7 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
if (!printed)
printf("\t\t * %s:", iftype_name(nla_type(nl_if)));
printed = true;
printf(" 0x%.4x", nla_get_u16(nl_ftype));
printf(" 0x%.2x", nla_get_u16(nl_ftype));
}
if (printed)
printf("\n");
Expand Down

0 comments on commit 58e3434

Please sign in to comment.