commit | c9b07581e0df8867499e97e08b382b6d3cc9c4c4 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Mon Mar 08 13:58:11 2010 +0100 |
committer | Paul Jakma <paul@quagga.net> | Tue Aug 04 16:39:27 2015 +0100 |
tree | 5cf4a31ba7e152a706a72b32b32939d265e8d426 | |
parent | 8b84c2762ccd2d47a115824ee083d33e697a7741 [diff] [blame] |
ospfd: Use route_node_lookup() instaed of route_node_get() Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c index e172e53..5c30809 100644 --- a/ospfd/ospf_abr.c +++ b/ospfd/ospf_abr.c
@@ -133,7 +133,9 @@ rn = route_top (area->ranges); else { - rn = route_node_get (area->ranges, (struct prefix *) &p); + rn = route_node_lookup (area->ranges, (struct prefix *) &p); + if (!rn) + return NULL; rn = route_next (rn); }