From 0e7c1de08a9e6b453b47c60a698a24387d63719a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 3 Jan 2001 06:56:03 +0000 Subject: Have "proto_register_protocol()" build a list of data structures for protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2810 --- packet-bootp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packet-bootp.c') diff --git a/packet-bootp.c b/packet-bootp.c index 2f70c589e9..fccced1d90 100644 --- a/packet-bootp.c +++ b/packet-bootp.c @@ -2,7 +2,7 @@ * Routines for BOOTP/DHCP packet disassembly * Gilbert Ramirez * - * $Id: packet-bootp.c,v 1.42 2000/11/19 08:53:55 guy Exp $ + * $Id: packet-bootp.c,v 1.43 2001/01/03 06:55:27 guy Exp $ * * The information used comes from: * RFC 951: Bootstrap Protocol @@ -829,7 +829,8 @@ proto_register_bootp(void) &ett_bootp_option, }; - proto_bootp = proto_register_protocol("Bootstrap Protocol", "bootp"); + proto_bootp = proto_register_protocol("Bootstrap Protocol", "BOOTP/DHCP", + "bootp"); proto_register_field_array(proto_bootp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } -- cgit v1.2.3