diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-07 20:14:18 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-07 20:14:18 +0000 |
commit | ce6ca9a05d50ed8a0ffb613ae6af4fd304b39ccb (patch) | |
tree | bd440734c8ef20cea53084021ff14411465693cb /epan/dissectors/packet-udp.c | |
parent | 3f385b31ab87c40927574ef28393efda948c750d (diff) | |
download | wireshark-ce6ca9a05d50ed8a0ffb613ae6af4fd304b39ccb.tar.gz |
Add infrastructure for section-initializing protocol hfis (without array).
configure implementation later.
svn path=/trunk/; revision=53146
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r-- | epan/dissectors/packet-udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c index 38541d09de..b6f4dc6111 100644 --- a/epan/dissectors/packet-udp.c +++ b/epan/dissectors/packet-udp.c @@ -716,6 +716,7 @@ proto_register_udp(void) module_t *udplite_module; expert_module_t* expert_udp; +#ifndef HAVE_HFI_SECTION_INIT static header_field_info *hfi[] = { &hfi_udp_srcport, &hfi_udp_dstport, @@ -738,6 +739,7 @@ proto_register_udp(void) &hfi_udplite_checksum_coverage_bad, &hfi_udplite_checksum_coverage, }; +#endif static gint *ett[] = { &ett_udp, |