diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-09-30 16:59:17 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-09-30 21:06:37 +0000 |
commit | 9b181b97c62542625a5ea6573e68c85202dd1f38 (patch) | |
tree | c210a0e51e6165a98bbe3eee64cf2e9a566cde49 /epan/dissectors/packet-fix.c | |
parent | 6896c2648cbdd13a1a00d429ee43be6a2680f094 (diff) | |
download | wireshark-9b181b97c62542625a5ea6573e68c85202dd1f38.tar.gz wireshark-9b181b97c62542625a5ea6573e68c85202dd1f38.tar.bz2 wireshark-9b181b97c62542625a5ea6573e68c85202dd1f38.zip |
Add editor modelines; Adjust whitespace; Remove boilerplate comments
Change-Id: I1f5f83ed441f6009125cf2cbe5023af04986898a
Reviewed-on: https://code.wireshark.org/review/4392
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r-- | epan/dissectors/packet-fix.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c index 2afccc61da..1d2f020e2c 100644 --- a/epan/dissectors/packet-fix.c +++ b/epan/dissectors/packet-fix.c @@ -446,10 +446,10 @@ dissect_fix_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data /* Register the protocol with Wireshark */ static void fix_prefs(void) { - dissector_delete_uint_range("tcp.port", fix_tcp_range, fix_handle); + dissector_delete_uint_range("tcp.port", fix_tcp_range, fix_handle); g_free(fix_tcp_range); fix_tcp_range = range_copy(global_fix_tcp_range); - dissector_add_uint_range("tcp.port", fix_tcp_range, fix_handle); + dissector_add_uint_range("tcp.port", fix_tcp_range, fix_handle); } /* this format is require because a script is used to build the C function @@ -536,3 +536,15 @@ proto_reg_handoff_fix(void) dissector_add_for_decode_as("tcp.port", fix_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: + */ |