aboutsummaryrefslogtreecommitdiffstats
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:38:37 +0000
commitce35a7eab6a84f6e6e71a2a0616974c50c7bfd52 (patch)
treefdad1d49aea2e845443dd2d6a59dc0190bccc9ab
parent5cc13c607669079769b8c1833bf7ff1e2312ffda (diff)
downloadwireshark-ce35a7eab6a84f6e6e71a2a0616974c50c7bfd52.tar.gz
wireshark-ce35a7eab6a84f6e6e71a2a0616974c50c7bfd52.tar.bz2
wireshark-ce35a7eab6a84f6e6e71a2a0616974c50c7bfd52.zip
Fix indentation.
Change-Id: I0ef6d0a9a957e645aa7f7e507609b9195fe9c19f Reviewed-on: https://code.wireshark.org/review/28520 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit 411c5e9dcfa78d5eeadcdc357cb99ffb7b423ce2) Reviewed-on: https://code.wireshark.org/review/28526
-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 a4e2285dd2..077d4d99eb 100644
--- a/epan/dissectors/packet-iax2.c
+++ b/epan/dissectors/packet-iax2.c
@@ -1670,32 +1670,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);
}