summaryrefslogtreecommitdiffstats
path: root/plugins/omsnmp/omsnmp.h
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2008-02-08 16:48:48 +0000
committerAndre Lorbach <alorbach@adiscon.com>2008-02-08 16:48:48 +0000
commita14121a19cfbd867442c66eab6c47d892e00c6a8 (patch)
tree4dc1d03924a1086a5d54eede99aa6ca92d1b1cb0 /plugins/omsnmp/omsnmp.h
parent9b1c0e2973c7222c163a8678830f1d072ba9c0c6 (diff)
downloadrsyslog-a14121a19cfbd867442c66eab6c47d892e00c6a8.tar.gz
rsyslog-a14121a19cfbd867442c66eab6c47d892e00c6a8.tar.xz
rsyslog-a14121a19cfbd867442c66eab6c47d892e00c6a8.zip
Added support for SNMPv2, which is also default. Removed some debug code
and compiler warnings. Added support to define the transport type where udp is the default. This also enables ipv6 support if you have compiled net-snmp with it.
Diffstat (limited to 'plugins/omsnmp/omsnmp.h')
-rw-r--r--plugins/omsnmp/omsnmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omsnmp/omsnmp.h b/plugins/omsnmp/omsnmp.h
index 267ac6d3..be3eb2a2 100644
--- a/plugins/omsnmp/omsnmp.h
+++ b/plugins/omsnmp/omsnmp.h
@@ -25,6 +25,7 @@
#ifndef OMSNMP_H_INCLUDED
#define OMSNMP_H_INCLUDED 1
+#define OMSNMP_MAXTRANSPORLENGTH 10
#define OMSNMP_MAXPORTLENGHT 5
#define OMSNMP_MAXCOMMUNITYLENGHT 255
#define OMSNMP_MAXOIDLENGHT 255