aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sebek.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sebek.c')
-rw-r--r--epan/dissectors/packet-sebek.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/epan/dissectors/packet-sebek.c b/epan/dissectors/packet-sebek.c
index ec22f89e4b..d9febb83c9 100644
--- a/epan/dissectors/packet-sebek.c
+++ b/epan/dissectors/packet-sebek.c
@@ -120,13 +120,13 @@ static gint ett_sebek = -1;
static int
dissect_sebek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- proto_tree *sebek_tree;
- proto_item *ti;
- int offset = 0;
- nstime_t ts;
- int sebek_ver = 0;
- int sebek_type = 0;
- int cmd_len = 0;
+ proto_tree *sebek_tree;
+ proto_item *ti;
+ int offset = 0;
+ nstime_t ts;
+ int sebek_ver = 0;
+ int sebek_type = 0;
+ int cmd_len = 0;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SEBEK");
@@ -257,7 +257,7 @@ dissect_sebek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
proto_tree_add_item(sebek_tree, hf_sebek_socket_proto, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
} else {
- proto_tree_add_item(sebek_tree, hf_sebek_data, tvb, offset, -1, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(sebek_tree, hf_sebek_data, tvb, offset, -1, ENC_ASCII|ENC_NA);
}
break;
@@ -349,3 +349,16 @@ proto_reg_handoff_sebek(void)
sebek_handle = new_create_dissector_handle(dissect_sebek, proto_sebek);
dissector_add_uint("udp.port", UDP_PORT_SEBEK, sebek_handle);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */