projects
/
bcm963xx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git]
/
userapps
/
opensource
/
net-snmp
/
agent
/
mibgroup
/
mibII
/
vacm_vars.c
diff --git
a/userapps/opensource/net-snmp/agent/mibgroup/mibII/vacm_vars.c
b/userapps/opensource/net-snmp/agent/mibgroup/mibII/vacm_vars.c
index
6a134f5
..
4b84ac5
100755
(executable)
--- a/
userapps/opensource/net-snmp/agent/mibgroup/mibII/vacm_vars.c
+++ b/
userapps/opensource/net-snmp/agent/mibgroup/mibII/vacm_vars.c
@@
-60,20
+60,20
@@
# include <time.h>
# endif
#endif
# include <time.h>
# endif
#endif
-#ifdef
BUILD_
SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#include "sysORTable.h"
#include "sysORTable.h"
-#endif /*
BUILD_
SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
#endif
static unsigned int vacmViewSpinLock = 0;
void
init_vacm_vars(void)
{
#endif
static unsigned int vacmViewSpinLock = 0;
void
init_vacm_vars(void)
{
-#ifdef
BUILD_
SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#ifdef USING_MIBII_SYSORTABLE_MODULE
static oid reg[] = { SNMP_OID_SNMPMODULES, 16, 2, 2, 1 };
#endif
#ifdef USING_MIBII_SYSORTABLE_MODULE
static oid reg[] = { SNMP_OID_SNMPMODULES, 16, 2, 2, 1 };
#endif
-#endif /*
BUILD_
SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
#define PRIVRW (SNMPV2ANY | 0x5000)
#define PRIVRW (SNMPV2ANY | 0x5000)
@@
-155,12
+155,12
@@
init_vacm_vars(void)
snmpd_register_config_handler("vacmAccess", vacm_parse_config_access,
NULL, NULL);
snmpd_register_config_handler("vacmAccess", vacm_parse_config_access,
NULL, NULL);
-#ifdef
BUILD_
SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#ifdef USING_MIBII_SYSORTABLE_MODULE
register_sysORTable(reg, 10,
"View-based Access Control Model for SNMP.");
#endif
#ifdef USING_MIBII_SYSORTABLE_MODULE
register_sysORTable(reg, 10,
"View-based Access Control Model for SNMP.");
#endif
-#endif /*
BUILD_
SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
/*
* register ourselves to handle access control
/*
* register ourselves to handle access control