diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-06 12:55:18 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-06 17:12:33 +0000 |
commit | 24d50bc2904c265f9f89b3df25c9e41f309a29bb (patch) | |
tree | 640c01f38985d1104b47ce3f007922c3afe4df74 /epan/dissectors/packet-lldp.c | |
parent | c822eeabe442f1d5724d63bcd0720b66c752a85b (diff) |
Adjust indentation to match editor modelines; Do other minor whitespace changes.
Change-Id: Ic020b2c92db5d14a2be9dc4d35aef4514b8b0353
Reviewed-on: https://code.wireshark.org/review/4502
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-lldp.c')
-rw-r--r-- | epan/dissectors/packet-lldp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c index fadc91442d..370b36c86f 100644 --- a/epan/dissectors/packet-lldp.c +++ b/epan/dissectors/packet-lldp.c @@ -869,7 +869,7 @@ mdi_power_base(gchar *buf, guint32 value) { static void media_power_base(gchar *buf, guint32 value) { - g_snprintf(buf, ITEM_LABEL_LENGTH, "%u mW", value * 100); + g_snprintf(buf, ITEM_LABEL_LENGTH, "%u mW", value * 100); } /* Calculate Latitude and Longitude string */ @@ -974,7 +974,7 @@ dissect_lldp_chassis_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gui /* Set chassis tree */ chassis_tree = proto_tree_add_subtree_format(tree, tvb, offset, (dataLen + 2), ett_chassis_id, &tf, "Chassis Subtype = %s", - val_to_str_const(tlvsubType, chassis_id_subtypes, "Reserved" )); + val_to_str_const(tlvsubType, chassis_id_subtypes, "Reserved" )); proto_tree_add_item(chassis_tree, hf_lldp_tlv_type, tvb, offset, 2, ENC_BIG_ENDIAN); lf = proto_tree_add_item(chassis_tree, hf_lldp_tlv_len, tvb, offset, 2, ENC_BIG_ENDIAN); @@ -1275,7 +1275,7 @@ dissect_lldp_time_to_live(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g /* Set port tree */ time_to_live_tree = proto_tree_add_subtree_format(tree, tvb, offset, (dataLen + 2), - ett_time_to_live, NULL, "Time To Live = %u sec", tempShort); + ett_time_to_live, NULL, "Time To Live = %u sec", tempShort); proto_tree_add_item(time_to_live_tree, hf_lldp_tlv_type, tvb, offset, 2, ENC_BIG_ENDIAN); proto_tree_add_item(time_to_live_tree, hf_lldp_tlv_len, tvb, offset, 2, ENC_BIG_ENDIAN); |