Ethereal-dev: [ethereal-dev] issue with packet-rpc.c - rpc_init_prog

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

From: "Neulinger, Nathan R." <nneul@xxxxxxx>
Date: Wed, 10 Nov 1999 15:03:29 -0600
rpc_init_prog takes the protocol name as what to put in COL_PROTOCOL:

    value->progname = proto_registrar_get_abbrev(proto);

Unfortunately, this means that using "ypserv" as a filter string doesn't
work. 
You have to use "YPSERV". If you register the protocol as "ypserv" (like
most of the other dissectors do), it puts "ypserv" in the protocol column,
which looks weird. 

I'd like to see packet-rpc.c changed to convert the progname to uppercase
before putting it into the COL_PROTOCOL column, or alternatively, which is
probably better - just change rpc_prog_init to take the protocol name to use
for COL_PROTOCOL as an argument.  

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216