Ethereal-dev: Re: [ethereal-dev] Clear warnings patch.

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 24 Oct 1999 00:38:06 -0700
> I can't use X during weekends, and that bugs me a lot. Nevertheless, I
> can use windows term emulator, and that was enough for playing around
> compiling and browsing ethereal sources. I noticed couple of boring
> warnings, a fix is attached.

I've applied the "packet-snmp.c" patch - hopefully, the warnings aren't
telling us that the CMU or UCD SNMP library routines in question
actually *do* modify the data to which their first arguments point.

(I'd hoped to be able to eliminate the dependency on external SNMP
libraries, but I didn't find any GPLed code to read MIB files and turn
numerical object IDs into more human-readable OIDs; I have code that'll
parse SNMP packets without using an external SNMP library, constructed
by assaulting the GXSNMP code with a chainsaw, but it dumps the OIDs as
long sequences of numbers with "."s between them, no words.

The SNACC ASN.1 compiler might let us do a better job, but it looks as
if a significant amount of work might be necessary to adapt it to the
task of reading MIB files.)