aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2000-03-03 17:06:31 +0000
committerOllivier Robert <roberto@FreeBSD.org>2000-03-03 17:06:31 +0000
commit1c80946020d06ca926154926c7c890d211708395 (patch)
tree415560c7be7b4068304e6bd0896aec7b067c97c4
parenta151a66c2a1c722d095dfdd6a06d8acd74a03253 (diff)
downloadsrc-1c80946020d06ca926154926c7c890d211708395.tar.gz
src-1c80946020d06ca926154926c7c890d211708395.zip
Fix potential alignement problems on Alpha + IPv6.
This is done on the vendor branch to avoid spamming the tree. It has been sent to the NTP maintainers already. Submitted by: shin
Notes
Notes: svn path=/vendor/ntp/dist/; revision=57738
-rw-r--r--contrib/ntp/ntpd/ntp_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/ntpd/ntp_io.c b/contrib/ntp/ntpd/ntp_io.c
index 6ab7d267d8a2..e209d6d29c1f 100644
--- a/contrib/ntp/ntpd/ntp_io.c
+++ b/contrib/ntp/ntpd/ntp_io.c
@@ -444,7 +444,7 @@ create_sockets(
continue;
}
# endif /* SYS_WINNT */
- ifreq = *ifr;
+ memcpy(&ifreq, ifr, sizeof(ifreq));
inter_list[i].flags = 0;
/* is it broadcast capable? */
# ifndef SYS_WINNT