diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-09-28 15:22:50 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-09-28 23:14:00 +0000 |
commit | 12bfbdcf256acdcc72efd59813ec3f3aff430ff2 (patch) | |
tree | 93563999fe2be433b05caf6800100b19a8660943 /epan/dissectors/packet-frame.c | |
parent | 91694e564075678897d611de3e25fd4571cfd80a (diff) |
Frame: Fixup whitespace.
Change-Id: I8f377b016501975883dab3abae8b5a1050007dd9
Reviewed-on: https://code.wireshark.org/review/29910
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/dissectors/packet-frame.c')
-rw-r--r-- | epan/dissectors/packet-frame.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c index 7dac6b8120..d03dc005b7 100644 --- a/epan/dissectors/packet-frame.c +++ b/epan/dissectors/packet-frame.c @@ -304,10 +304,10 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* item = proto_tree_add_item(tree, proto_pkt_comment, tvb, 0, 0, ENC_NA); comments_tree = proto_item_add_subtree(item, ett_comments); comment_item = proto_tree_add_string_format(comments_tree, hf_comments_text, tvb, 0, 0, - fr_data->pkt_comment, "%s", - fr_data->pkt_comment); + fr_data->pkt_comment, "%s", + fr_data->pkt_comment); expert_add_info_format(pinfo, comment_item, &ei_comments_text, - "%s", fr_data->pkt_comment); + "%s", fr_data->pkt_comment); } @@ -414,10 +414,10 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* if_item = proto_tree_add_uint(fh_tree, hf_frame_interface_id, tvb, 0, 0, pinfo->rec->rec_header.packet_header.interface_id); } - if (interface_description) { + if (interface_description) { if_tree = proto_item_add_subtree(if_item, ett_ifname); proto_tree_add_string(if_tree, hf_frame_interface_description, tvb, 0, 0, interface_description); - } + } } if (pinfo->rec->presence_flags & WTAP_HAS_PACK_FLAGS) { @@ -761,7 +761,7 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* } } } - } + } return tvb_captured_length(tvb); } |