(file) Return to snmpDeliverTrap_netsnmp.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_netsnmp.cpp between version 1.26.2.1 and 1.27

version 1.26.2.1, 2013/06/03 22:36:10 version 1.27, 2012/06/11 10:06:35
Line 43 
Line 43 
     // loaded and loading them can cause some stderr;     // loaded and loading them can cause some stderr;
     // use environment variable MIBS to override the default MIB modules.     // use environment variable MIBS to override the default MIB modules.
     // If there is no MIBS environment variable, add it in.     // If there is no MIBS environment variable, add it in.
       char* envVar;
       envVar = getenv("MIBS");
  
     setenv("MIBS", "", 0);      if (envVar == NULL)
       {
           putenv("MIBS=");
       }
  
     // Initialize the mib reader     // Initialize the mib reader
     netsnmp_set_mib_directory("");     netsnmp_set_mib_directory("");
Line 637 
Line 642 
             oidSubIdentifiers.append(p);             oidSubIdentifiers.append(p);
         }         }
  
           long genTrap = 0;
           long specTrap = 0;
   
         enterpriseOidLength = MAX_OID_LEN;         enterpriseOidLength = MAX_OID_LEN;
  
         if (Contains(standard_traps, trapOid))         if (Contains(standard_traps, trapOid))


Legend:
Removed from v.1.26.2.1  
changed lines
  Added in v.1.27

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2