2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
* lib/smux.[ch]: allow to retreive global OID (identified by <0
namelen).
* ospf_ism.c: generate SNMP traps on Interface state change
* ospf_nsm.c: generate SNMP traps on Neighbour state change
* ospf_snmp.[ch]: support for SNMP traps for interface and neighbours.
diff --git a/lib/smux.h b/lib/smux.h
index a4f1718..79d23e7 100644
--- a/lib/smux.h
+++ b/lib/smux.h
@@ -94,7 +94,7 @@
FindVarMethod *findVar;
/* Suffix of the MIB. */
- u_char namelen;
+ int namelen;
oid name[MAX_OID_LEN];
};
@@ -121,7 +121,7 @@
struct trap_object
{
FindVarMethod *findVar;
- u_char namelen;
+ int namelen;
oid name[MAX_OID_LEN];
};