diff options
author | Evan Huus <eapache@gmail.com> | 2013-11-07 17:03:04 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-11-07 17:03:04 +0000 |
commit | 6441f10c416f79a7b68f5a90b825643220add023 (patch) | |
tree | e87195d8808abc36a2017c4ecd379fc4f3ca5682 /epan/dissectors/packet-ndmp.c | |
parent | 8f112c03909f63d7eacf7dcaa792bdc35de91526 (diff) |
Add modelines. Minor indentation fixes.
svn path=/trunk/; revision=53143
Diffstat (limited to 'epan/dissectors/packet-ndmp.c')
-rw-r--r-- | epan/dissectors/packet-ndmp.c | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c index 0c1e645bdd..388d3c5b05 100644 --- a/epan/dissectors/packet-ndmp.c +++ b/epan/dissectors/packet-ndmp.c @@ -3513,8 +3513,8 @@ dissect_ndmp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat return 0; /* XXX - tcp_dissect_pdus() doesn't have a way to pass dissector data, so store - the tcpinfo structure from the TCP dissector as proto_data to be retrieved - in dissect_ndmp_message() */ + the tcpinfo structure from the TCP dissector as proto_data to be retrieved + in dissect_ndmp_message() */ p_add_proto_data(pinfo->fd, proto_ndmp, 0, data); tcp_dissect_pdus(tvb, pinfo, tree, ndmp_desegment, 28, @@ -4323,7 +4323,20 @@ proto_register_ndmp(void) void proto_reg_handoff_ndmp(void) { - ndmp_handle = new_create_dissector_handle(dissect_ndmp, proto_ndmp); - dissector_add_uint("tcp.port",TCP_PORT_NDMP, ndmp_handle); - heur_dissector_add("tcp", dissect_ndmp_heur, proto_ndmp); + ndmp_handle = new_create_dissector_handle(dissect_ndmp, proto_ndmp); + dissector_add_uint("tcp.port",TCP_PORT_NDMP, ndmp_handle); + heur_dissector_add("tcp", dissect_ndmp_heur, proto_ndmp); } + +/* + * 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: + */ |