aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-06-28 13:34:46 -0700
committerGuy Harris <guy@alum.mit.edu>2018-06-28 20:37:43 +0000
commit411c5e9dcfa78d5eeadcdc357cb99ffb7b423ce2 (patch)
treeb2fcecc7c7d83069768bb2d4bcb1999ac55bceef /epan
parentf3f71a2d83df3587bb9195f9dd5aadc8b70d5039 (diff)
Fix indentation.
Change-Id: I0ef6d0a9a957e645aa7f7e507609b9195fe9c19f Reviewed-on: https://code.wireshark.org/review/28520 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-iax2.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c
index 472b2517bf..1a9f875206 100644
--- a/epan/dissectors/packet-iax2.c
+++ b/epan/dissectors/packet-iax2.c
@@ -1656,32 +1656,32 @@ dissect_fullpacket(tvbuff_t *tvb, guint32 offset,
iax2_populate_pinfo_from_packet_data(pinfo, iax_packet);
if (iax2_tree) {
- proto_item *packet_type_base;
+ proto_item *packet_type_base;
- proto_tree_add_item(iax2_tree, hf_iax2_dcallno, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(iax2_tree, hf_iax2_dcallno, tvb, offset, 2, ENC_BIG_ENDIAN);
- proto_tree_add_item(iax2_tree, hf_iax2_retransmission, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(iax2_tree, hf_iax2_retransmission, tvb, offset, 2, ENC_BIG_ENDIAN);
- if (iax_call) {
- proto_item *item =
- proto_tree_add_uint(iax2_tree, hf_iax2_callno, tvb, 0, 4,
- iax_call->forward_circuit_ids[0]);
- PROTO_ITEM_SET_GENERATED(item);
- }
+ if (iax_call) {
+ proto_item *item =
+ proto_tree_add_uint(iax2_tree, hf_iax2_callno, tvb, 0, 4,
+ iax_call->forward_circuit_ids[0]);
+ PROTO_ITEM_SET_GENERATED(item);
+ }
- proto_tree_add_uint(iax2_tree, hf_iax2_ts, tvb, offset+2, 4, ts);
- iax2_add_ts_fields(pinfo, iax2_tree, tvb, iax_packet, (guint16)ts);
+ proto_tree_add_uint(iax2_tree, hf_iax2_ts, tvb, offset+2, 4, ts);
+ iax2_add_ts_fields(pinfo, iax2_tree, tvb, iax_packet, (guint16)ts);
- proto_tree_add_item(iax2_tree, hf_iax2_oseqno, tvb, offset+6, 1,
- ENC_BIG_ENDIAN);
+ proto_tree_add_item(iax2_tree, hf_iax2_oseqno, tvb, offset+6, 1,
+ ENC_BIG_ENDIAN);
- proto_tree_add_item(iax2_tree, hf_iax2_iseqno, tvb, offset+7, 1,
- ENC_BIG_ENDIAN);
- packet_type_base = proto_tree_add_uint(iax2_tree, hf_iax2_type, tvb,
- offset+8, 1, type);
+ proto_tree_add_item(iax2_tree, hf_iax2_iseqno, tvb, offset+7, 1,
+ ENC_BIG_ENDIAN);
+ packet_type_base = proto_tree_add_uint(iax2_tree, hf_iax2_type, tvb,
+ offset+8, 1, type);
- /* add the type-specific subtree */
- packet_type_tree = proto_item_add_subtree(packet_type_base, ett_iax2_type);
+ /* add the type-specific subtree */
+ packet_type_tree = proto_item_add_subtree(packet_type_base, ett_iax2_type);
} else {
iax2_add_ts_fields(pinfo, iax2_tree, tvb, iax_packet, (guint16)ts);
}