[ieee80211] Fix: "DSCP Range description user priority" off by 1

Bug: 11555
Change-Id: Ic12c7882dbe4f6eca72f7eed3ee8d0e5618afdd8
Reviewed-on: https://code.wireshark.org/review/10695
Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
Bill Meier 2015-09-29 20:54:46 -04:00
parent 737e2d7800
commit 1fb5f8f389
1 changed files with 2 additions and 2 deletions

View File

@ -13156,10 +13156,10 @@ dissect_qos_map_set(packet_info *pinfo, proto_tree *tree, proto_item *item,
offset++;
if (val == 255 && val2 == 255) {
proto_item_append_text(dscp_item, " (UP %u not in use)", i + 1);
proto_item_append_text(dscp_item, " (UP %u not in use)", i);
} else {
proto_item_append_text(dscp_item, " (0x%02x-0x%02x: UP %u)",
val, val2, i + 1);
val, val2, i);
}
}