diff options
author | paul <paul> | 2003-10-15 21:40:57 +0000 |
---|---|---|
committer | paul <paul> | 2003-10-15 21:40:57 +0000 |
commit | affe1d9c7f333e0d0373505c4a57994ab1a03822 (patch) | |
tree | e18bdaaa9a5db76b23ef2bb15a00666ab3e5d147 | |
parent | 20916fba5c5aac8146d780a849083ca88f804511 (diff) |
2003-10-15 Paul Jakma <paul@dishone.st>
* ospfd/ospf_interface: (ospf_if_lookup_table) fix compile errors
from previous patch. doh.
-rw-r--r-- | ospfd/ospf_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index 4be81995..2519ec9c 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -130,13 +130,13 @@ struct ospf_interface * 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; } |