From a5a8dc6136fcee95f261a31609a25669038c3861 Mon Sep 17 00:00:00 2001 From: roberto Date: Fri, 3 Mar 2000 17:06:31 +0000 Subject: [PATCH] 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 --- contrib/ntp/ntpd/ntp_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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