ospfd: Use route_node_lookup() instaed of route_node_get()

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c
index 604766d..78435de 100644
--- a/ospfd/ospf_snmp.c
+++ b/ospfd/ospf_snmp.c
@@ -1994,7 +1994,9 @@
     rn = route_top (ospf_snmp_vl_table);
   else
     {
-      rn = route_node_get (ospf_snmp_vl_table, (struct prefix *) &lp);
+      rn = route_node_lookup (ospf_snmp_vl_table, (struct prefix *) &lp);
+      if (!rn)
+	return NULL;
       rn = route_next (rn);
     }