aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/gryphon/packet-gryphon.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gryphon/packet-gryphon.c')
-rw-r--r--plugins/gryphon/packet-gryphon.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index a172aae682..c1ca99cf99 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -223,21 +223,19 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
frmtyp = flags & ~RESPONSE_FLAGS;
if (!is_msgresp_add) {
- /*
- * This tvbuff includes padding to make its length a multiple
- * of 4 bytes; set it to the actual length.
- */
- set_actual_length(tvb, msglen + FRAME_HEADER_LEN);
+ /*
+ * This tvbuff includes padding to make its length a multiple
+ * of 4 bytes; set it to the actual length.
+ */
+ set_actual_length(tvb, msglen + FRAME_HEADER_LEN);
- if (check_col(pinfo->cinfo, COL_INFO)) {
/*
* Indicate what kind of message this is.
*/
if (frmtyp >= SIZEOF (frame_type))
- col_set_str(pinfo->cinfo, COL_INFO, "- Invalid -");
+ col_set_str(pinfo->cinfo, COL_INFO, "- Invalid -");
else
- col_set_str(pinfo->cinfo, COL_INFO, frame_type[frmtyp]);
- }
+ col_set_str(pinfo->cinfo, COL_INFO, frame_type[frmtyp]);
}
if (tree == NULL)