commit | 4dd87df5af8a59174362e44f83df11f12457c8b4 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@quagga.net> | Thu Apr 15 08:11:51 2010 +0100 |
committer | Paul Jakma <paul@quagga.net> | Wed Dec 08 17:13:19 2010 +0000 |
tree | bec3ba26fcf730d6348567ddd530e74846af824b | |
parent | dfbd5176ea863e378999c03314dc42adfdd4e424 [diff] |
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.