summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-02-19 10:19:57 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-02-19 10:19:57 +0000
commit8e154961c4309350d785cfd2100f2dc9f9d53e0a (patch)
tree35aa5c31d19e2caa3dab7516fceb3417f78d02e4 /usr.sbin
parent6edb1a9fa3a2e27c12e26a9364e4f5b6dcb4d4ab (diff)
Originate P2P links correctly.
ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/ospfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 3912470ab93..77f92bfbdd6 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.6 2005/02/10 14:05:48 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.7 2005/02/19 10:19:56 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -591,7 +591,7 @@ orig_rtr_lsa(struct area *area)
if (nbr) {
log_debug("orig_rtr_lsa: point-to-point, "
"interface %s", iface->name);
- rtr_link.id = nbr->addr.s_addr;
+ rtr_link.id = nbr->id.s_addr;
rtr_link.data = iface->addr.s_addr;
rtr_link.type = LINK_TYPE_POINTTOPOINT;
rtr_link.metric = htons(iface->metric);