Commit bd746b1e authored by Magnus Boman's avatar Magnus Boman

Make sure that we only use a device that has got an ip address.

svn path=/trunk/; revision=473
parent fe583d52
2008-06-25 Magnus Boman <captain.magnus@gmail.com>
https://bugzilla.novell.com/show_bug.cgi?id=262334 - When
using wireless/ifup, g-m-m shows the connection as wired.
* main-menu/src/network-status-agent.c (gtop_get_first_active_device_info):
Make sure that we only use a device that has got an ip address.
2008-06-13 Federico Mena Quintero <federico@novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=336735 - On
......
......@@ -305,7 +305,8 @@ gtop_get_first_active_device_info ()
glibtop_get_netload (&net_load, networks[i]);
if (CHECK_FLAG (net_load.if_flags, GLIBTOP_IF_FLAGS_RUNNING)
&& !CHECK_FLAG (net_load.if_flags, GLIBTOP_IF_FLAGS_LOOPBACK))
&& !CHECK_FLAG (net_load.if_flags, GLIBTOP_IF_FLAGS_LOOPBACK)
&& net_load.address)
{
sock_fd = iw_sockets_open ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment