Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
apcupsd
apcupsd-3.14.6-undef-MIB-for-new-net-snmp.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apcupsd-3.14.6-undef-MIB-for-new-net-snmp.diff of Package apcupsd
Index: src/drivers/snmp/snmp.h =================================================================== --- src/drivers/snmp/snmp.h.orig +++ src/drivers/snmp/snmp.h @@ -46,10 +46,18 @@ # include <net-snmp/library/snmp_client.h> # endif #endif +/* net-snmp now defines MIB: + net-snmp/library/mib.h:#define NETSNMP_MIB2_OID 1, 3, 6, 1, 2, 1 + net-snmp/library/mib.h:#define MIB NETSNMP_MIB2_OID + */ +#ifdef MIB +#undef MIB +#endif + #include "powernet-mib.h" #include "rfc1628-mib.h" #include <sys/param.h> /* for MIN() */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor