diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-18 17:23:57 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-18 17:23:57 +0000 |
commit | 8e4e16aeacb324c156b9d10d20033ce96923fee7 (patch) | |
tree | 4d45fa3dbc8063ca6590ebc743689d236baaca8f | |
parent | 399f019522a9c3f694287e7714c5720b84f87b15 (diff) |
Display Power Constraint in DEC (and fix a small typo)
svn path=/trunk/; revision=47731
-rw-r--r-- | epan/dissectors/packet-ieee80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 6faac6ec4e..a131af6a63 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -9684,7 +9684,7 @@ add_tagged_field(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset offset += 2; proto_tree_add_item(tree, hf_ieee80211_tag_power_constraint_local, tvb, offset, 1, ENC_LITTLE_ENDIAN); - proto_item_append_text(ti, " :%d", tvb_get_guint8(tvb, offset)); + proto_item_append_text(ti, ": %d", tvb_get_guint8(tvb, offset)); offset += 1; break; @@ -16097,7 +16097,7 @@ proto_register_ieee80211 (void) {&hf_ieee80211_tag_power_constraint_local, {"Local Power Constraint", "wlan_mgt.powercon.local", - FT_UINT8, BASE_HEX, NULL, 0, + FT_UINT8, BASE_DEC, NULL, 0, "Value that allows the mitigation requirements to be satisfied in the current channel", HFILL }}, {&hf_ieee80211_tag_power_capability_min, |