Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk main.c

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

From: Gerald Combs <gerald@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Oct 2002 22:07:36 -0500 (CDT)
gerald      2002/10/08 22:07:36 CDT

  Modified files:
    gtk                  main.c 
  Log:
  Link to libsnmp under Win32.
  
  In gtk/main.c and tethereal.c set MIBDIRS to <get_program_path()>\snmp\mibs
  so that we can drop the MIB files there, instead of the default c:\usr\...
  path.
  
  Add NET_SNMP_DIR to config.nmake and modify Makefile.nmake to adjust
  CFLAGs, ethereal_LIBS and tethereal_LIBS accordingly.
  
  Define HAVE_UCD_SNMP in config.h.win32.
  
  I tested this by creating c:\program files\ethereal\snmp\mibs and
  dropping in the MIB files that come with Net-SNMP.  Ethereal resolved
  system.sysDescr.0 to "iso.3.6.1.2.1.1.1.0" under Windows.  Under Linux
  it resolved to "SNMPv2-MIB::sysDescr.0".
  
  Ethereal.nsi still needs to be updated.
  
  A compiled version of the Net-SNMP library can be found at
  
      http://www.ethereal.com/distribution/win32/development/
  
  Revision  Changes    Path
  1.266     +21 -3     ethereal/gtk/main.c