ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Patch for RPC and new protocol: NIS

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: Mon, 7 May 2001 14:15:02 -0700 (PDT)
> Attached is a patch for RPC to allow (easier) decoding of arrays in RPC
> based protocols.
> rpc.diff

Checked in (although I changed "num" from a "gint32" to a "guint32";
presumably the length is unsigned, not signed).

> 
> Attached is also a new dissector for NIS.

Checked in - as NIS+, not NIS, in "packet-nisplus.c" and
"packet-nisplus.h" files, and with "nisplus" used instead of "nis" and
"NIS+" used instead of "NIS".

I also had to change "proto_item_set_len()" to do nothing if passed a
null first argument; the dissector, when initially reading in the
capture (and thus not necessarily constructing the protocol tree), will
call "proto_tree_add_item()" with a null first argument, get a null
"proto_item *" back, and pass that on to "proto_item_set_len()", and
that was dumping core.