summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_snmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c
index 2e1a9b3c..41955ba5 100644
--- a/ospfd/ospf_snmp.c
+++ b/ospfd/ospf_snmp.c
@@ -2477,9 +2477,11 @@ ospfAreaAggregateEntry (struct variable *v, oid *name, size_t *length,
void
ospf_snmp_init ()
{
+ struct ospf *ospf;
+
ospf_snmp_iflist = list_new ();
ospf_snmp_vl_table = route_table_init ();
- smux_init (ospfd_oid, sizeof (ospfd_oid) / sizeof (oid));
+ smux_init (om->master, ospfd_oid, sizeof (ospfd_oid) / sizeof (oid));
REGISTER_MIB("mibII/ospf", ospf_variables, variable, ospf_oid);
smux_start ();
}