summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2003-06-19 01:21:07 +0000
committerpaul <paul>2003-06-19 01:21:07 +0000
commitdd488a78add05f10f58f4096dca622c6b5f1f0c9 (patch)
tree22c986ccc07a5378e5b99fcdf32cc953c841b8d8 /ospfd
parent3db0a77852cc0de1385f7046355321229a567924 (diff)
2003-06-19 Paul Jakma <paul@dishone.st>
* Fix lib/smux.c's reliance on daemons exporting struct thread_master *master.
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 ();
}