Changeset 0b9be9f in rtems-libbsd
- Timestamp:
- 03/11/19 08:32:53 (5 years ago)
- Branches:
- 5, master
- Children:
- 24631e2
- Parents:
- d315955
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/11/19 08:32:53)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/11/19 08:37:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freebsd/contrib/tcpdump/print-radius.c
rd315955 r0b9be9f 636 636 if (attr_type[attr_code].siz_subtypes) 637 637 { 638 static const char **table;639 638 uint32_t data_value; 640 table = attr_type[attr_code].subtypes;641 639 642 640 if ( (attr_code == TUNNEL_TYPE) || (attr_code == TUNNEL_MEDIUM) ) … … 656 654 attr_type[attr_code].first_subtype) && 657 655 data_value >= attr_type[attr_code].first_subtype ) 658 ND_PRINT((ndo, "%s", table[data_value]));656 ND_PRINT((ndo, "%s", attr_type[attr_code].subtypes[data_value])); 659 657 else 660 658 ND_PRINT((ndo, "#%u", data_value));
Note: See TracChangeset
for help on using the changeset viewer.