2006-01-11 Robert Love <rml@novell.com>

* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
	  define if_mii(), open code the same results, and do so without any
	  type punning.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1320 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-01-11 22:41:53 +00:00 committed by Robert Love
parent 77c10f94b6
commit df024f3ed8
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-01-11 Robert Love <rml@novell.com>
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
define if_mii(), open code the same results, and do so without any
type punning.
2006-01-11 Robert Love <rml@novell.com>
* gnome/applet/wireless-security-manager.c: Fix crash by not asserting

View file

@ -1,6 +1,6 @@
AC_PREREQ(2.52)
AC_INIT(NetworkManager, 0.5.1, dcbw@redhat.com, NetworkManager)
AC_INIT(NetworkManager, 0.5.1cvs20060111, dcbw@redhat.com, NetworkManager)
AM_INIT_AUTOMAKE([subdir-objects])
AM_MAINTAINER_MODE

View file

@ -373,7 +373,7 @@ mdio_read (NMDevice8023Ethernet *self, NMSock *sk, struct ifreq *ifr, int locati
iface = nm_device_get_iface (NM_DEVICE (self));
mii = if_mii (ifr);
mii = (struct mii_ioctl_data *) &ifr->ifr_ifru;
mii->reg_num = location;
#ifdef IOCTL_DEBUG