pcapng: fix build without plugins.
Just remove some HAVE_PLUGINS checks. Those tables will eventually handle built-in block and option types as well.
This commit is contained in:
parent
89fee9321e
commit
910c489a4a
|
@ -239,7 +239,6 @@ typedef struct {
|
|||
wtap_new_ipv6_callback_t add_new_ipv6;
|
||||
} pcapng_t;
|
||||
|
||||
#ifdef HAVE_PLUGINS
|
||||
/*
|
||||
* Table for plugins to handle particular block types.
|
||||
*
|
||||
|
@ -490,7 +489,6 @@ register_pcapng_option_handler(guint block_type, guint option_code,
|
|||
g_hash_table_insert(option_handlers[bt_index],
|
||||
GUINT_TO_POINTER(option_code), handler);
|
||||
}
|
||||
#endif /* HAVE_PLUGINS */
|
||||
|
||||
static int
|
||||
pcapng_read_option(FILE_T fh, const section_info_t *section_info,
|
||||
|
|
Loading…
Reference in New Issue