diff --git a/sys/netns/ns_input.c b/sys/netns/ns_input.c index 9e896d84c54e..9c14fc258ca4 100644 --- a/sys/netns/ns_input.c +++ b/sys/netns/ns_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: ns_input.c,v 1.9 1996/02/13 22:13:56 christos Exp $ */ +/* $NetBSD: ns_input.c,v 1.10 1996/02/18 05:42:59 christos Exp $ */ /* * Copyright (c) 1984, 1985, 1986, 1987, 1993 @@ -275,7 +275,7 @@ idp_ctlinput(cmd, sa, arg) case PRC_IFDOWN: case PRC_HOSTDEAD: case PRC_HOSTUNREACH: - sns = arg; + sns = (struct sockaddr_ns *) sa; if (sns->sns_family != AF_NS) return NULL; ns = &sns->sns_addr; diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c index 7c3421d60782..a56d5fa71cdf 100644 --- a/sys/netns/spp_usrreq.c +++ b/sys/netns/spp_usrreq.c @@ -1,4 +1,4 @@ -/* $NetBSD: spp_usrreq.c,v 1.9 1996/02/13 22:14:13 christos Exp $ */ +/* $NetBSD: spp_usrreq.c,v 1.10 1996/02/18 05:43:03 christos Exp $ */ /* * Copyright (c) 1984, 1985, 1986, 1987, 1993 @@ -617,7 +617,7 @@ spp_ctlinput(cmd, sa, arg) case PRC_IFDOWN: case PRC_HOSTDEAD: case PRC_HOSTUNREACH: - sns = arg; + sns = (struct sockaddr_ns *) sa; if (sns->sns_family != AF_NS) return NULL; na = &sns->sns_addr;