diff options
Diffstat (limited to 'sysdeps/generic/ifreq.c')
-rw-r--r-- | sysdeps/generic/ifreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/ifreq.c b/sysdeps/generic/ifreq.c index be7c03cf08..da4db19e6f 100644 --- a/sysdeps/generic/ifreq.c +++ b/sysdeps/generic/ifreq.c @@ -62,7 +62,7 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd) __close (fd); #ifdef _HAVE_SA_LEN - struct ifreq *ifr = ifreqs; + struct ifreq *ifr = *ifreqs; nifs = 0; while ((char *) ifr < ifc.ifc_buf + ifc.ifc_len) { |