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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/snmptrapd_ds.h b/apps/snmptrapd_ds.h
new file mode 100644
index 0000000..55c1226
--- /dev/null
+++ b/apps/snmptrapd_ds.h
@@ -0,0 +1,14 @@
+#ifndef SNMPTRAPD_DS_H
+#define SNMPTRAPD_DS_H
+
+/* these must not conflict with agent's DS booleans */
+#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 */