summaryrefslogtreecommitdiff
path: root/bgpd
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
parent4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44 (diff)
smux: drop findVar element from trap object struct
This element was not unused.
Diffstat (limited to 'bgpd')
-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 a995ff6c..73406d59 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