Ethereal-dev: Re: [ethereal-dev] RPC dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 28 Oct 1999 17:59:21 -0700 (PDT)
> gtk/main.c
>         global rpc init

Hmm.

"ethereal_proto_init()" calls:

	init_dissect_rpc();  
	proto_init();
	init_dissect_udp();
	dfilter_init();

"proto_init()" calls "register_all_protocols()", which calls the
register routines for ONC RPC and UDP.  Should "init_dissect_rpc()" be
swallowed into "proto_register_rpc()", and "init_dissect_udp()" be
swallowed into "proto_register_udp()"?  (I think "init_dissect_udp()"
antedated Gilbert's protocol-tree stuff and, as such, antedated
"proto_register_udp()", which may be why it was created.)