hal ChangeLog,1.160,1.161

Joe Shaw joe at pdx.freedesktop.org
Fri Jun 11 10:59:21 PDT 2004


Update of /cvs/hal/hal
In directory pdx:/tmp/cvs-serv14386

Modified Files:
	ChangeLog 
Log Message:
2004-06-11  Joe Shaw  <joeshaw at novell.com>

	Patch from Dan Williams (dcbw at redhat.com).

	* hald/linux/net_class_device.c (link_detection_init): Make
	netlink_fd static and only set up a watch on it once, since we get
	notifications for all interfaces through this one socket.
	(link_detection_handle_message): Get the link status and
	interface, and iterate over all the devices.
	(set_device_link_status): New function.  First checks for
	"net.interface" and if it matches the interface passed in, set the
	link status property.

Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- ChangeLog	9 Jun 2004 18:53:58 -0000	1.160
+++ ChangeLog	11 Jun 2004 17:59:18 -0000	1.161
@@ -1,3 +1,16 @@
+2004-06-11  Joe Shaw  <joeshaw at novell.com>
+
+	Patch from Dan Williams (dcbw at redhat.com).
+
+	* hald/linux/net_class_device.c (link_detection_init): Make
+	netlink_fd static and only set up a watch on it once, since we get
+	notifications for all interfaces through this one socket.
+	(link_detection_handle_message): Get the link status and
+	interface, and iterate over all the devices.
+	(set_device_link_status): New function.  First checks for
+	"net.interface" and if it matches the interface passed in, set the
+	link status property.
+
 2004-06-09  Joe Shaw  <joeshaw at novell.com>
 
 	* hald/linux/block_class_device.c (detect_media): Set info.product





More information about the hal-commit mailing list