X-Git-Url: http://git.rot13.org/?p=bcm963xx.git;a=blobdiff_plain;f=userapps%2Fopensource%2Fnet-snmp%2Fagent%2Fmibgroup%2FmibII%2Fsnmp_mib.c;h=1390ebe42ad0d491c84f893651a4fbb5a89f52ca;hp=ef2a1c47c7f5e9f159b04dc2e1421e0eeec17338;hb=6adeba4d92a546ebbadde2562283ee6b984b22c1;hpb=dacd86d83a9fb430cca42cb78a67f9d46e289f5c diff --git a/userapps/opensource/net-snmp/agent/mibgroup/mibII/snmp_mib.c b/userapps/opensource/net-snmp/agent/mibgroup/mibII/snmp_mib.c index ef2a1c47..1390ebe4 100755 --- a/userapps/opensource/net-snmp/agent/mibgroup/mibII/snmp_mib.c +++ b/userapps/opensource/net-snmp/agent/mibgroup/mibII/snmp_mib.c @@ -1,4 +1,4 @@ -#ifdef BUILD_SNMP_SNMP_MIB +#ifdef SNMP_SNMP_MIB /* * SNMPv1 MIB group implementation - snmp.c @@ -26,9 +26,9 @@ #include "util_funcs.h" #include "snmp_mib.h" -#ifdef BUILD_SNMP_SYSOR_MIB +#ifdef SNMP_SYSOR_MIB #include "sysORTable.h" -#endif /* BUILD_SNMP_SYSOR_MIB */ +#endif /* SNMP_SYSOR_MIB */ /********************* * @@ -117,13 +117,13 @@ init_snmp_mib(void) REGISTER_MIB("mibII/snmp", snmp_variables, variable1, snmp_variables_oid); -#ifdef BUILD_SNMP_SYSOR_MIB +#ifdef SNMP_SYSOR_MIB #ifdef USING_MIBII_SYSTEM_MIB_MODULE if (++system_module_count == 3) REGISTER_SYSOR_TABLE(system_module_oid, system_module_oid_len, "The MIB module for SNMPv2 entities"); #endif -#endif /* BUILD_SNMP_SYSOR_MIB */ +#endif /* SNMP_SYSOR_MIB */ snmp_register_callback(SNMP_CALLBACK_LIBRARY, SNMP_CALLBACK_STORE_DATA, snmp_enableauthentraps_store, NULL); } @@ -261,4 +261,4 @@ void init_snmp_mib(void) { } -#endif /* BUILD_SNMP_SNMP_MIB */ +#endif /* SNMP_SNMP_MIB */