2003-10-15 Paul Jakma <paul@dishone.st>
* ospfd/ospf_interface: (ospf_if_lookup_table) fix compile errors
from previous patch. doh.
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index 4be8199..2519ec9 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -130,13 +130,13 @@
ospf_if_table_lookup (struct interface *ifp, struct prefix *prefix)
{
struct prefix p;
- struct route_node rn;
+ struct route_node *rn;
p = *prefix;
- rn = route_node_get (IF_OIFS (ifp), &p));
+ rn = route_node_get (IF_OIFS (ifp), &p);
/* route_node_get implicitely locks */
- route_node_unlock (rn);
+ route_unlock_node (rn);
return (struct ospf_interface *) rn->info;
}