diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-22 19:44:53 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-22 19:44:53 +0000 |
commit | e381954210095df0c8c5cd078331aa2a6b2309c2 (patch) | |
tree | 0fa1428d65f1c2e4f79eeee78c6c1612b858bec6 /usr.sbin/ospf6d/rde_spf.c | |
parent | f316ce14f69eb4c0b9394d5428eba322989b4e60 (diff) |
Holy inconsitancy Batman! While it is impossible to use embeded scope ids
in almost all sockaddr_in6 addresses it is required for the nexthop and
sin6_scope_id is actually ignored there.
This needs to be fixed but my quota of IPv6 insanity is already used for today.
Workaround for now. My simple testsetup is now actually able to install
the first ospf6d learned routes in the kernel. Weeee!
Diffstat (limited to 'usr.sbin/ospf6d/rde_spf.c')
-rw-r--r-- | usr.sbin/ospf6d/rde_spf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/rde_spf.c b/usr.sbin/ospf6d/rde_spf.c index 42e0fae846f..53b5474f652 100644 --- a/usr.sbin/ospf6d/rde_spf.c +++ b/usr.sbin/ospf6d/rde_spf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_spf.c,v 1.18 2009/12/22 17:54:04 claudio Exp $ */ +/* $OpenBSD: rde_spf.c,v 1.19 2009/12/22 19:44:52 claudio Exp $ */ /* * Copyright (c) 2005 Esben Norby <norby@openbsd.org> @@ -619,6 +619,9 @@ spf_timer(int fd, short event, void *arg) LIST_FOREACH(area, &conf->area_list, entry) rde_summary_update(r, area); +log_debug("rt_calced: %s/%u type %d inval %d", + log_in6addr(&r->prefix), r->prefixlen, r->d_type, r->invalid); + if (r->d_type != DT_NET) continue; |