diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-14 15:58:21 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-14 20:08:29 +0000 |
commit | bfe37060351eac4ce95a0bc36f218d992f216ff1 (patch) | |
tree | 2096f1e22515309b460c201e179f7ce4f3045c8e /plugins/ethercat/packet-ioraw.c | |
parent | 71c5ac03e23edf46878fbc60fe6c1694476775de (diff) |
Always put editor-modelines at the end of the file ...
... to ensure that there are no potential issues with respect to
editors limiting the number of lines scanned at the end of the file
when checking for editor modelines.
Change-Id: Ic85cbb108bb5159d6ec4116fea11f5eebb4e44a4
Reviewed-on: https://code.wireshark.org/review/4688
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'plugins/ethercat/packet-ioraw.c')
-rw-r--r-- | plugins/ethercat/packet-ioraw.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ethercat/packet-ioraw.c b/plugins/ethercat/packet-ioraw.c index 5bc07d78d2..234a15cdab 100644 --- a/plugins/ethercat/packet-ioraw.c +++ b/plugins/ethercat/packet-ioraw.c @@ -116,6 +116,9 @@ void proto_reg_handoff_ioraw(void) ioraw_handle = create_dissector_handle(dissect_ioraw, proto_ioraw); + dissector_add_uint("ecatf.type", 3, ioraw_handle); +} + /* * Editor modelines - http://www.wireshark.org/tools/modelines.html * @@ -125,8 +128,6 @@ void proto_reg_handoff_ioraw(void) * indent-tabs-mode: nil * End: * - * ex: set shiftwidth=3 tabstop=8 expandtab: + * vi: set shiftwidth=3 tabstop=8 expandtab: * :indentSize=3:tabSize=8:noTabs=true: */ - dissector_add_uint("ecatf.type", 3, ioraw_handle); -} |