PR/29766: Chris Ross: Incomplete correction of comments in netinet/in.c

Patch applied, thanks!
This commit is contained in:
elad 2006-09-23 20:54:07 +00:00
parent 0d73afac24
commit a56f110db9

@ -1,4 +1,4 @@
/* $NetBSD: in.c,v 1.109 2006/07/23 22:06:13 ad Exp $ */
/* $NetBSD: in.c,v 1.110 2006/09/23 20:54:07 elad Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.109 2006/07/23 22:06:13 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.110 2006/09/23 20:54:07 elad Exp $");
#include "opt_inet.h"
#include "opt_inet_conf.h"
@ -668,7 +668,7 @@ in_lifaddr_ioctl(struct socket *so, u_long cmd, caddr_t data,
if (iflr->flags & IFLR_PREFIX)
return EINVAL;
/* copy args to in_aliasreq, perform ioctl(SIOCAIFADDR_IN). */
/* copy args to in_aliasreq, perform ioctl(SIOCAIFADDR). */
bzero(&ifra, sizeof(ifra));
bcopy(iflr->iflr_name, ifra.ifra_name,
sizeof(ifra.ifra_name));
@ -757,7 +757,7 @@ in_lifaddr_ioctl(struct socket *so, u_long cmd, caddr_t data,
} else {
struct in_aliasreq ifra;
/* fill in_aliasreq and do ioctl(SIOCDIFADDR_IN) */
/* fill in_aliasreq and do ioctl(SIOCDIFADDR) */
bzero(&ifra, sizeof(ifra));
bcopy(iflr->iflr_name, ifra.ifra_name,
sizeof(ifra.ifra_name));