summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2000-03-03 17:06:31 +0000
committerroberto <roberto@FreeBSD.org>2000-03-03 17:06:31 +0000
commita5a8dc6136fcee95f261a31609a25669038c3861 (patch)
tree415560c7be7b4068304e6bd0896aec7b067c97c4 /contrib
parentb5b40f9e420899251189775800d9f74092925299 (diff)
downloadFreeBSD-src-a5a8dc6136fcee95f261a31609a25669038c3861.zip
FreeBSD-src-a5a8dc6136fcee95f261a31609a25669038c3861.tar.gz
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
Diffstat (limited to 'contrib')
-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 6ab7d26..e209d6d 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
OpenPOWER on IntegriCloud