summaryrefslogtreecommitdiffstats
path: root/lib/smux.h
diff options
context:
space:
mode:
authorvincent <vincent>2005-09-29 16:34:30 +0000
committervincent <vincent>2005-09-29 16:34:30 +0000
commitc770db59c4f5b27fda9be25fb8bb1fb977122f2f (patch)
treef2394367e5e4640708885efe5af37309a713c2bb /lib/smux.h
parent12e73f006455c00b83777d8ca92c585cc1fd7884 (diff)
downloadquagga-c770db59c4f5b27fda9be25fb8bb1fb977122f2f.tar.bz2
quagga-c770db59c4f5b27fda9be25fb8bb1fb977122f2f.tar.xz
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.
Diffstat (limited to 'lib/smux.h')
-rw-r--r--lib/smux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smux.h b/lib/smux.h
index a4f1718d..79d23e70 100644
--- a/lib/smux.h
+++ b/lib/smux.h
@@ -94,7 +94,7 @@ struct variable
FindVarMethod *findVar;
/* Suffix of the MIB. */
- u_char namelen;
+ int namelen;
oid name[MAX_OID_LEN];
};
@@ -121,7 +121,7 @@ struct subtree
struct trap_object
{
FindVarMethod *findVar;
- u_char namelen;
+ int namelen;
oid name[MAX_OID_LEN];
};