diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospf6d/kroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c index f91cb251458..5a96c0c5662 100644 --- a/usr.sbin/ospf6d/kroute.c +++ b/usr.sbin/ospf6d/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.14 2009/12/21 18:29:31 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.15 2009/12/21 18:35:43 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -1309,7 +1309,7 @@ dispatch_rtmsg(void) ifindex = rtm->rtm_index; if ((sa = rti_info[RTAX_GATEWAY]) != NULL) { switch (sa->sa_family) { - case AF_INET: + case AF_INET6: nexthop = ((struct sockaddr_in6 *) sa)->sin6_addr; break; |