From 0f63de92818c7be6d634b43f9e8d5c663fdd3e91 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Fri, 9 Nov 2007 14:41:04 +0000 Subject: From Stephen Croll. Dynamically register filter fields from TLV definitions. svn path=/trunk/; revision=23414 --- plugins/wimaxasncp/wimaxasncp_dict.l | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'plugins/wimaxasncp/wimaxasncp_dict.l') diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index 2b7b69d615..1bec0f685d 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -391,6 +391,19 @@ decoder_attr decoder=\042 tlv->name = NULL; tlv->description = NULL; tlv->decoder = 0; + tlv->hf_root = -1; + tlv->hf_value = -1; + tlv->hf_ipv4 = -1; + tlv->hf_ipv6 = -1; + tlv->hf_bsid = -1; + tlv->hf_protocol = -1; + tlv->hf_port_low = -1; + tlv->hf_port_high = -1; + tlv->hf_ipv4_mask = -1; + tlv->hf_ipv6_mask = -1; + tlv->hf_vendor_id = -1; + tlv->hf_vendor_rest_of_info = -1; + tlv->enum_vs = NULL; tlv->enums = NULL; tlv->next = NULL; -- cgit v1.2.3