summaryrefslogtreecommitdiff
path: root/ospfd
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 /ospfd
parent4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44 (diff)
smux: drop findVar element from trap object struct
This element was not unused.
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_snmp.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c
index 409153b8..b2d56860 100644
--- a/ospfd/ospf_snmp.c
+++ b/ospfd/ospf_snmp.c
@@ -2568,35 +2568,35 @@ ospfAreaAggregateEntry (struct variable *v, oid *name, size_t *length,
struct trap_object ospfNbrTrapList[] =
{
- {ospfGeneralGroup, -2, {1, OSPFROUTERID}},
- {ospfNbrEntry, 3, {10, 1, OSPFNBRIPADDR}},
- {ospfNbrEntry, 3, {10, 1, OSPFNBRRTRID}},
- {ospfNbrEntry, 3, {10, 1, OSPFNBRSTATE}}
+ {-2, {1, OSPFROUTERID}},
+ {3, {10, 1, OSPFNBRIPADDR}},
+ {3, {10, 1, OSPFNBRRTRID}},
+ {3, {10, 1, OSPFNBRSTATE}}
};
struct trap_object ospfVirtNbrTrapList[] =
{
- {ospfGeneralGroup, -2, {1, 1}},
- {ospfVirtNbrEntry, 3, {11, 1, OSPFVIRTNBRAREA}},
- {ospfVirtNbrEntry, 3, {11, 1, OSPFVIRTNBRRTRID}},
- {ospfVirtNbrEntry, 3, {11, 1, OSPFVIRTNBRSTATE}}
+ {-2, {1, 1}},
+ {3, {11, 1, OSPFVIRTNBRAREA}},
+ {3, {11, 1, OSPFVIRTNBRRTRID}},
+ {3, {11, 1, OSPFVIRTNBRSTATE}}
};
struct trap_object ospfIfTrapList[] =
{
- {ospfGeneralGroup, -2, {1, OSPFROUTERID}},
- {ospfIfEntry, 3, {7, 1, OSPFIFIPADDRESS}},
- {ospfIfEntry, 3, {7, 1, OSPFADDRESSLESSIF}},
- {ospfIfEntry, 3, {7, 1, OSPFIFSTATE}}
+ {-2, {1, OSPFROUTERID}},
+ {3, {7, 1, OSPFIFIPADDRESS}},
+ {3, {7, 1, OSPFADDRESSLESSIF}},
+ {3, {7, 1, OSPFIFSTATE}}
};
struct trap_object ospfVirtIfTrapList[] =
{
- {ospfGeneralGroup, -2, {1, OSPFROUTERID}},
- {ospfVirtIfEntry, 3, {9, 1, OSPFVIRTIFAREAID}},
- {ospfVirtIfEntry, 3, {9, 1, OSPFVIRTIFNEIGHBOR}},
- {ospfVirtIfEntry, 3, {9, 1, OSPFVIRTIFSTATE}}
+ {-2, {1, OSPFROUTERID}},
+ {3, {9, 1, OSPFVIRTIFAREAID}},
+ {3, {9, 1, OSPFVIRTIFNEIGHBOR}},
+ {3, {9, 1, OSPFVIRTIFSTATE}}
};
void