summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-05 03:46:19 +0000
committerOndrej Filip <feela@network.cz>2000-06-05 03:46:19 +0000
commit88048fb3c970842a16c65b1566ba817871a04eb5 (patch)
tree4fb39a2ba90bfe2c4e166b43ee52f46cf84887af /proto/ospf/rt.c
parent273fd2c16475d3d1275a4fe17443c3ba2b93fbc4 (diff)
Small patch to better hash type=2 LSAs.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 8a7f17cb..d5b4626f 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -126,7 +126,7 @@ ospf_rt_spfa(struct ospf_area *oa)
continue;
break;
case LSART_NET:
- tmp=ospf_hash_find(oa->gr,rtl->data,rtl->id,LSA_T_NET);
+ tmp=ospf_hash_find(oa->gr,rtl->id,rtl->id,LSA_T_NET);
if(tmp==NULL) DBG("Fuck!\n");
else DBG("Found. :-)\n");
break;