From a14121a19cfbd867442c66eab6c47d892e00c6a8 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Fri, 8 Feb 2008 16:48:48 +0000 Subject: 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. --- plugins/omsnmp/omsnmp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/omsnmp/omsnmp.h') 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 -- cgit