diff options
author | Paul Jakma <paul@quagga.net> | 2009-08-03 15:16:41 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-08-03 16:52:38 +0100 |
commit | 4ca15d4a658dca9663b7dea2475edfe6814ef847 (patch) | |
tree | a756f68b118cf641f8f91966e771345d4a177b76 /ospfd/ospf_lsa.c | |
parent | a8ba847ff96b41e06770d4987b15707890ed5807 (diff) |
ospfd: update some comments
* ospf_{spf,lsa}.c: remove out of date comment; add comment on some
non-obvious code; Make note of a possible scaling problem.
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 15a6a4c4..acc9c3f4 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -1528,7 +1528,10 @@ ospf_external_lsa_nexthop_get (struct ospf *ospf, struct in_addr nexthop) nh.family = AF_INET; nh.u.prefix4 = nexthop; nh.prefixlen = IPV4_MAX_BITLEN; - + + /* XXX/SCALE: If there were a lot of oi's on an ifp, then it'd be + * better to make use of the per-ifp table of ois. + */ for (ALL_LIST_ELEMENTS_RO (ospf->oiflist, node, oi)) if (if_is_operative (oi->ifp)) if (oi->address->family == AF_INET) |