Ethereal-dev: Re: [ethereal-dev] 0.7.6 crash

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: Tue, 26 Oct 1999 19:05:59 -0700 (PDT)
> > One fix there might be to take "proto_register_snmp()" out of the
> > #ifdefs and, instead, have it compile to a null routine if neither
> > WITH_SNMP_CMU or WITH_SNMP_UCD is defined, so it won't register any
> > fields, but will, at least, exist.  That way the stuff in the Makefile
> > that scans the dissector source files won't have to worry about whether
> > to scan "packet-snmp.c" or not.
> 
> I figured as much, however this is pretty much a show stopper for me
> to upgrade the port.

...which is why I just checked in a fix to do what I mentioned (as well
as a fix to shove the loop that scans the files into a shell file, which
appears to have fixed the problem with generating "register.c").