summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2010-04-15 09:11:51 +0200
committerPaul Jakma <paul@quagga.net>2010-12-08 18:13:19 +0100
commit4dd87df5af8a59174362e44f83df11f12457c8b4 (patch)
treebec3ba26fcf730d6348567ddd530e74846af824b /ospfd/ospf_lsa.h
parentospfd: potential fix for router-id change assert on refresh cleanup patch (diff)
downloadfrr-4dd87df5af8a59174362e44f83df11f12457c8b4.tar.xz
frr-4dd87df5af8a59174362e44f83df11f12457c8b4.zip
ospfd: Remove oi field from LSA, have network_lsa_refresh look up when needed
* ospf_lsa.h: (struct ospf_lsa) remove oi pointer * ospf_lsa.c: (ospf_network_lsa_refresh) instead of keeping a pointer, just lookup the oi when it's needed. This decouples network LSA from oi lifetime and avoids having to invalidate pointers in LSAs when an oi changes, simplifying the code.
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index 0959a6382..fee34708b 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -114,9 +114,6 @@ struct ospf_lsa
/* Refreshement List or Queue */
int refresh_list;
-
- /* For Type-9 Opaque-LSAs or Type-2 Network-LSAs */
- struct ospf_interface *oi;
};
/* OSPF LSA Link Type. */