diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-01-03 00:23:51 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-01-03 00:23:51 +0000 |
commit | 5144f86470fe8a2689da5da59cdf3c804bb4bed3 (patch) | |
tree | 8f201c56c54014bcad8f9e08d54c2fb3e521696f /usr.sbin/ospf6d/rde.h | |
parent | 1a4470b69096b9c76b4484f00a41f0286e0d6870 (diff) |
Since link LSAs live in iface->lsa_tree and not in area->lsa_tree,
we had better include LSAs from iface->lsa_tree when sending
DB summaries. Fixes initial flood of link LSAs.
ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d/rde.h')
-rw-r--r-- | usr.sbin/ospf6d/rde.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/rde.h b/usr.sbin/ospf6d/rde.h index 346b1a28dba..0a8b2ec6333 100644 --- a/usr.sbin/ospf6d/rde.h +++ b/usr.sbin/ospf6d/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.6 2008/12/30 22:24:34 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.7 2009/01/03 00:23:50 stsp Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -141,7 +141,7 @@ void lsa_age(struct vertex *); struct vertex *lsa_find(struct iface *, u_int16_t, u_int32_t, u_int32_t); struct vertex *lsa_find_net(struct area *area, u_int32_t); u_int16_t lsa_num_links(struct vertex *); -void lsa_snap(struct area *, u_int32_t); +void lsa_snap(struct rde_nbr *, u_int32_t); void lsa_dump(struct lsa_tree *, int, pid_t); void lsa_merge(struct rde_nbr *, struct lsa *, struct vertex *); void lsa_remove_invalid_sums(struct area *); |