diff options
| author | 2009-03-29 16:24:38 +0000 | |
|---|---|---|
| committer | 2009-03-29 16:24:38 +0000 | |
| commit | d2afa435ddbaa23f5b6bed39b06fb47c49d0aaac (patch) | |
| tree | d680810d9d07a93f701d60d5eea20e941013e60a /usr.sbin/ospf6d/interface.c | |
| parent | ospf6ctl had lsa_rtr_link fields mixed up. (diff) | |
| download | wireguard-openbsd-d2afa435ddbaa23f5b6bed39b06fb47c49d0aaac.tar.xz wireguard-openbsd-d2afa435ddbaa23f5b6bed39b06fb47c49d0aaac.zip | |
For SPF calculation, we will need the source address specified
in hello packets by next-hop neighbours. So when notifying the
RDE of a new neighbour, send the source address, too.
ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d/interface.c')
| -rw-r--r-- | usr.sbin/ospf6d/interface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/interface.c b/usr.sbin/ospf6d/interface.c index 09d76ad4e96..ccbc66e531f 100644 --- a/usr.sbin/ospf6d/interface.c +++ b/usr.sbin/ospf6d/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.13 2009/02/19 22:08:14 stsp Exp $ */ +/* $OpenBSD: interface.c,v 1.14 2009/03/29 16:24:38 stsp Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -280,7 +280,8 @@ void if_start(struct ospfd_conf *xconf, struct iface *iface) { /* init the dummy local neighbor */ - iface->self = nbr_new(ospfe_router_id(), iface, iface->ifindex, 1); + iface->self = nbr_new(ospfe_router_id(), iface, iface->ifindex, 1, + NULL); /* set event handlers for interface */ evtimer_set(&iface->lsack_tx_timer, ls_ack_tx_timer, iface); |
