Re: org.freedesktop.NetworkManager.getActiveDevice() ?



On Fri, 2007-02-02 at 14:37 -0500, Nathaniel McCallum wrote:
> What happened to the org.freedesktop.NetworkManager.getActiveDevice()
> method describe here:
> http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt
> ?
> 
> What is the best way to get the current active device?

Get the device list, get each device, and check which device has the
'active' bit set to True.  Note that in 0.7, you may have more than one
active device.

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]