http2: fix building error caused by fake header feature without nghttp2

Fix a building error caused by fake header feature of
MR 4877 when building without nghttp2 library.
This commit is contained in:
Huang Qiangxiong 2021-11-28 11:24:35 +08:00
parent f5d8d9e306
commit f029fa6b71
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,6 @@ UAT_VS_DEF(header_fields, header_type, header_field_t, enum header_field_type, v
UAT_CSTRING_CB_DEF(header_fields, header_desc, header_field_t)
static hf_register_info* hf_uat = NULL;
#endif
/* message/stream direction (to or from server) vals */
#define http2_direction_type_vals_VALUE_STRING_LIST(XXX) \
@ -1078,6 +1077,7 @@ get_fake_header_value(packet_info* pinfo, const gchar* name, gboolean the_other_
return NULL;
}
#endif
static void
http2_init_protocol(void)