diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-09-12 01:01:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-09-12 08:01:34 +0000 |
commit | 887f7f17e8b1d82a600fe25dbd96a682c30bd2c1 (patch) | |
tree | 3b9978e3b0e6623313886cca73373241431c85d1 /epan/dissectors/packet-rip.c | |
parent | 9accfd1490d36b2a30a109ac6a7f2dab2f6ee063 (diff) |
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 <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-rip.c')
-rw-r--r-- | epan/dissectors/packet-rip.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |