Files affected dlls/iphlpapi/ifenum.c Changelog: ifenum.c corrected code to acquire mtu under solaris
Index: dlls/iphlpapi/ifenum.c =================================================================== RCS file: /home/wine/wine/dlls/iphlpapi/ifenum.c,v retrieving revision 1.8 diff -u -3 -p -b -r1.8 ifenum.c --- dlls/iphlpapi/ifenum.c 30 Nov 2003 06:03:21 -0000 1.8 +++ dlls/iphlpapi/ifenum.c 8 Jan 2004 04:59:58 -0000 @@ -821,7 +821,11 @@ DWORD getInterfaceMtuByName(const char * if ((ioctl(fd, SIOCGIFMTU, &ifr))) ret = ERROR_INVALID_DATA; else { +#if !defined sun *mtu = ifr.ifr_mtu; +#else + *mtu=ifr.ifr_metric; + #endif ret = NO_ERROR; } }