summaryrefslogtreecommitdiff
path: root/apps/snmptrapd_ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/snmptrapd_ds.h')
-rw-r--r--apps/snmptrapd_ds.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/snmptrapd_ds.h b/apps/snmptrapd_ds.h
new file mode 100644
index 0000000..03eba14
--- /dev/null
+++ b/apps/snmptrapd_ds.h
@@ -0,0 +1,19 @@
+#ifndef SNMPTRAPD_DS_H
+#define SNMPTRAPD_DS_H
+
+/* booleans
+ *
+ * WARNING: These must not conflict with the agent's DS booleans
+ * If you define additional entries here, check in <agent/ds_agent.h> first
+ * (and consider repeating the definitions there) */
+
+#define NETSNMP_DS_APP_NUMERIC_IP 16
+#define NETSNMP_DS_APP_NO_AUTHORIZATION 17
+
+/*
+ * NB: The NETSNMP_DS_APP_NO_AUTHORIZATION definition is repeated
+ * in the code file agent/mibgroup/mibII/vacm_conf.c
+ * If this definition is changed, it should be updated there too.
+ */
+
+#endif /* SNMPTRAPD_DS_H */