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-nflog.c | |
parent | 3f385b31ab87c40927574ef28393efda948c750d (diff) |
Add infrastructure for section-initializing protocol hfis (without array).
configure implementation later.
svn path=/trunk/; revision=53146
Diffstat (limited to 'epan/dissectors/packet-nflog.c')
-rw-r--r-- | epan/dissectors/packet-nflog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nflog.c b/epan/dissectors/packet-nflog.c index 3f1fe286ab..a0beebc393 100644 --- a/epan/dissectors/packet-nflog.c +++ b/epan/dissectors/packet-nflog.c @@ -354,6 +354,7 @@ dissect_nflog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) void proto_register_nflog(void) { +#ifndef HAVE_HFI_SECTION_INIT static header_field_info *hfi[] = { /* Header */ &hfi_nflog_family, @@ -371,6 +372,7 @@ proto_register_nflog(void) &hfi_nflog_tlv_timestamp, &hfi_nflog_tlv_unknown, }; +#endif static gint *ett[] = { &ett_nflog, |