summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/rde.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2010-07-01 18:57:22 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2010-07-01 18:57:22 +0000
commit16de7863f4917069f98ebb3df33d0d952be3d383 (patch)
tree3c24bb512902f1e2dbe6495a5b9b09abe78a45b0 /usr.sbin/ospf6d/rde.c
parent2b28084c574e59d7204f03cc3b5740de0dbb0be4 (diff)
The prefixes of interface addresses of an ospf link have to be
advertised as link-lsa and intra-area-prefix-lsa when they change dynamically. Handle RTM_NEWADDR and RTM_DELADDR in kroute by sending an imsg to ospfe. Upon this event, originate a new link-lsa in ospfe. In rde a new intra-area-prefix-lsa is generated when a link-lsa appears or goes away. ok claudio@; ok and test stsp@
Diffstat (limited to 'usr.sbin/ospf6d/rde.c')
-rw-r--r--usr.sbin/ospf6d/rde.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c
index 287cbc9eccc..dca25f36ba5 100644
--- a/usr.sbin/ospf6d/rde.c
+++ b/usr.sbin/ospf6d/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.42 2010/06/28 15:05:01 bluhm Exp $ */
+/* $OpenBSD: rde.c,v 1.43 2010/07/01 18:57:21 bluhm Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -65,7 +65,6 @@ struct lsa *orig_asext_lsa(struct rroute *, u_int16_t);
struct lsa *orig_sum_lsa(struct rt_node *, struct area *, u_int8_t, int);
struct lsa *orig_intra_lsa_net(struct iface *, struct vertex *);
struct lsa *orig_intra_lsa_rtr(struct area *, struct vertex *);
-void orig_intra_area_prefix_lsas(struct area *);
void append_prefix_lsa(struct lsa **, u_int16_t *,
struct lsa_prefix *);
int link_lsa_from_full_nbr(struct lsa *, struct iface *);