From ce6ca9a05d50ed8a0ffb613ae6af4fd304b39ccb Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Thu, 7 Nov 2013 20:14:18 +0000 Subject: Add infrastructure for section-initializing protocol hfis (without array). configure implementation later. svn path=/trunk/; revision=53146 --- epan/dissectors/packet-nflog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/dissectors/packet-nflog.c') 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, -- cgit v1.2.3