From 887f7f17e8b1d82a600fe25dbd96a682c30bd2c1 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 12 Sep 2014 01:01:00 -0700 Subject: Register hfi_rip_zero_padding. Also, sort the hfi[] array to be in the same order as the declarations of the fields, to make it easier to check that all fields are being registered. Change-Id: Ida530590ebd00bbf206e0f6041b8da880bce2c6f Reviewed-on: https://code.wireshark.org/review/4089 Reviewed-by: Guy Harris --- epan/dissectors/packet-rip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epan/dissectors/packet-rip.c b/epan/dissectors/packet-rip.c index ad6638f6fa..d9f0b76141 100644 --- a/epan/dissectors/packet-rip.c +++ b/epan/dissectors/packet-rip.c @@ -139,6 +139,7 @@ static header_field_info hfi_rip_route_tag RIP_HFI_INIT = static header_field_info hfi_rip_zero_padding RIP_HFI_INIT = { "Zero Padding", "rip.zero_padding", FT_STRING, BASE_NONE, NULL, 0, "Authentication password", HFILL }; + static gint ett_rip = -1; static gint ett_rip_vec = -1; static gint ett_auth_vec = -1; @@ -331,7 +332,6 @@ proto_register_rip(void) static header_field_info *hfi[] = { &hfi_rip_command, &hfi_rip_version, - &hfi_rip_family, &hfi_rip_routing_domain, &hfi_rip_ip, &hfi_rip_netmask, @@ -339,7 +339,9 @@ proto_register_rip(void) &hfi_rip_metric, &hfi_rip_auth, &hfi_rip_auth_passwd, + &hfi_rip_family, &hfi_rip_route_tag, + &hfi_rip_zero_padding, }; #endif /* HAVE_HFI_SECTION_INIT */ -- cgit v1.2.3