diff options
author | Vincent Bernat <bernat@luffy.cx> | 2012-05-25 11:17:01 +0200 |
---|---|---|
committer | Vincent Bernat <bernat@luffy.cx> | 2012-06-25 19:03:23 +0200 |
commit | b7c0d0651cd64f644d02ef5e4d1b82febe7e57d8 (patch) | |
tree | 5480eff7b8581e1168d23657da0f30e23100d7bc /zebra/rt_socket.c | |
parent | b8cf46b715b2c21db5dce8118c70b4dd9b5255a3 (diff) |
agentx: handle SNMP traps
smux_trap() signature has been changed to provide appropriate level
information to send SNMPv2 notifications. This includes the addition
of the enterprise OID to use (from which is derived the SNMP trap OID)
and the MIB registry to locate the appropriate function for variable
bindings provided by the trap.
The SMUX implementation has been updated but ignore the provided
enterprise OID. Instead, it still uses the SMUX peer OID to keep
compatibility with previous versions of Quagga. The SMUX
implementation also ignores the provided MIB registry since it uses
smux_get() function to grab the appropriate values. This is not
possible with the AgentX implementation since there is no such
function provided by NetSNMP.
Diffstat (limited to 'zebra/rt_socket.c')
0 files changed, 0 insertions, 0 deletions