diff options
author | roberto <roberto@FreeBSD.org> | 2000-03-03 17:06:31 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2000-03-03 17:06:31 +0000 |
commit | a5a8dc6136fcee95f261a31609a25669038c3861 (patch) | |
tree | 415560c7be7b4068304e6bd0896aec7b067c97c4 | |
parent | b5b40f9e420899251189775800d9f74092925299 (diff) | |
download | FreeBSD-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
-rw-r--r-- | contrib/ntp/ntpd/ntp_io.c | 2 |
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 |