aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aastra-aasp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-09-30 19:12:26 -0400
committerBill Meier <wmeier@newsguy.com>2014-09-30 23:17:01 +0000
commit01b093c24d53c8304b4e36741a0df00125105795 (patch)
tree172df29bcfb12a6af1c8b5a04516a6374f8c9d97 /epan/dissectors/packet-aastra-aasp.c
parent0cc027cc267952e51e7b17e8e3cef51592f9e013 (diff)
Add editor modelines; Adjust whitespace as needed.
Change-Id: I434da226c842298f4fb2a4335d06d51e164af2af Reviewed-on: https://code.wireshark.org/review/4394 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-aastra-aasp.c')
-rw-r--r--epan/dissectors/packet-aastra-aasp.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/epan/dissectors/packet-aastra-aasp.c b/epan/dissectors/packet-aastra-aasp.c
index 4a8f9f60f7..f5f70d8a01 100644
--- a/epan/dissectors/packet-aastra-aasp.c
+++ b/epan/dissectors/packet-aastra-aasp.c
@@ -22,8 +22,8 @@
*/
/*
- * AASP over SIP
- * Content-Type: message/x-aasp-signalling
+ * AASP over SIP
+ * Content-Type: message/x-aasp-signalling
*/
#include "config.h"
@@ -134,7 +134,7 @@ static const value_string szCmdID[] =
};
/**
- * Dissect single command
+ * Dissect single command
*/
static void
dissect_a_binary_command(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
@@ -365,7 +365,7 @@ dissect_a_binary_command(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree
}
/**
- * Searching for the next command when the variable or unknown length.
+ * Searching for the next command when the variable or unknown length.
*/
static guint searchNext(tvbuff_t *tvb, guint begin, guint end)
{
@@ -425,13 +425,15 @@ dissect_aasp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
/* 86:02:00:00:01:03:02 */
switch(tvb_get_guint8(tvb, i+2))
{
- case 0x00: i += 11; break;
+ case 0x00: i += 11; break;
case 0x02: i += 8; break;
}
break;
}
#endif
- default: i = searchNext(tvb, i+1, n); break;
+ default:
+ i = searchNext(tvb, i+1, n);
+ break;
}
dissect_a_binary_command(tvb_new_subset_length(tvb, prev, i-prev), pinfo, aasp_tree);
prev = i;
@@ -525,3 +527,16 @@ proto_reg_handoff_aasp(void)
aasp_handle = new_create_dissector_handle(dissect_aasp, proto_aasp);
dissector_add_string("media_type", "message/x-aasp-signalling", aasp_handle);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */