summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_snmp.c
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-05-25 08:56:44 +0200
committerVincent Bernat <bernat@luffy.cx>2012-06-25 19:03:23 +0200
commitb8cf46b715b2c21db5dce8118c70b4dd9b5255a3 (patch)
tree61fea7fd6d75345f5224e36d8ca33badc9d39b17 /bgpd/bgp_snmp.c
parentsmux: remove `tick` argument from smux_trap() (diff)
downloadfrr-b8cf46b715b2c21db5dce8118c70b4dd9b5255a3.tar.xz
frr-b8cf46b715b2c21db5dce8118c70b4dd9b5255a3.zip
smux: drop findVar element from trap object struct
This element was not unused.
Diffstat (limited to 'bgpd/bgp_snmp.c')
-rw-r--r--bgpd/bgp_snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c
index a995ff6c2..73406d59a 100644
--- a/bgpd/bgp_snmp.c
+++ b/bgpd/bgp_snmp.c
@@ -833,8 +833,8 @@ bgp4PathAttrTable (struct variable *v, oid name[], size_t *length,
/* BGP Traps. */
struct trap_object bgpTrapList[] =
{
- {bgpPeerTable, 3, {3, 1, BGPPEERLASTERROR}},
- {bgpPeerTable, 3, {3, 1, BGPPEERSTATE}}
+ {3, {3, 1, BGPPEERLASTERROR}},
+ {3, {3, 1, BGPPEERSTATE}}
};
void