summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/interface.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2009-01-29 19:07:53 +0000
committerstsp <stsp@openbsd.org>2009-01-29 19:07:53 +0000
commitf3f203f196eea10fb0b60e7af6a5327709c3610e (patch)
tree338ec48a0a49b6f83add52fa220923a0c55ec04e /usr.sbin/ospf6d/interface.c
parentIn Link LSAs, #prefixes is a 32bit value. (diff)
downloadwireguard-openbsd-f3f203f196eea10fb0b60e7af6a5327709c3610e.tar.xz
wireguard-openbsd-f3f203f196eea10fb0b60e7af6a5327709c3610e.zip
Originate Intra-Area-Prefix LSAs which reference a router LSA.
Routers can now advertise prefixes with global scope throughout an area. This paves the way towards doing SPF calculations to generate routing tables for a single area. ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d/interface.c')
-rw-r--r--usr.sbin/ospf6d/interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/interface.c b/usr.sbin/ospf6d/interface.c
index a6a3d09abd8..9d58b26fd2c 100644
--- a/usr.sbin/ospf6d/interface.c
+++ b/usr.sbin/ospf6d/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.10 2009/01/27 21:58:28 stsp Exp $ */
+/* $OpenBSD: interface.c,v 1.11 2009/01/29 19:07:53 stsp Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -142,6 +142,7 @@ if_fsm(struct iface *iface, enum iface_event event)
if (iface->state != old_state) {
orig_rtr_lsa(iface);
orig_link_lsa(iface);
+ orig_intra_lsa_rtr(iface);
}
if (old_state & (IF_STA_MULTI | IF_STA_POINTTOPOINT) &&