monitor: allow printing extension IE's

print_ie was using a uint8_t for tag, which overflowed if the IE was an
extension type.
This commit is contained in:
James Prestwood 2018-11-16 14:22:46 -08:00 committed by Denis Kenzior
parent c3785df735
commit 35bce47022
1 changed files with 1 additions and 1 deletions

View File

@ -1452,7 +1452,7 @@ static void print_ie(unsigned int level, const char *label,
ie_tlv_iter_init(&iter, data, size);
while (ie_tlv_iter_next(&iter)) {
uint8_t tag = ie_tlv_iter_get_tag(&iter);
uint16_t tag = ie_tlv_iter_get_tag(&iter);
struct attr_entry *entry = NULL;
for (i = 0; ie_entry[i].str; i++) {