From bb93341cc055adb41b130969d24827da582fde3f Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 21 Dec 2009 18:35:44 +0000 Subject: Another AF_INET that should be an AF_INET6. --- usr.sbin/ospf6d/kroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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; -- cgit v1.2.3