Back out previous, and adjust a comment.

This commit is contained in:
thorpej 2000-03-10 22:39:03 +00:00
parent b58bf3c7bb
commit 0fcf68825f
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_input.c,v 1.106 2000/03/07 05:39:57 thorpej Exp $ */
/* $NetBSD: ip_input.c,v 1.107 2000/03/10 22:39:03 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -1116,7 +1116,8 @@ ip_dooptions(m)
goto bad;
}
ntime = iptime();
bcopy(&ntime, (caddr_t)cp + ipt->ipt_ptr - 1,
cp0 = (u_char *) &ntime; /* XXX grumble, GCC... */
bcopy(cp0, (caddr_t)cp + ipt->ipt_ptr - 1,
sizeof(n_time));
ipt->ipt_ptr += sizeof(n_time);
}