On Wed, Sep 16, 2009 at 05:54, 代尔欣 <daier...@gmail.com> wrote:
> Hi all,
>    In applet.c function applet_get_best_activating_connection() have codes:
>
>         ...
>         if (NM_IS_DEVICE_WIFI (best_dev)) {
>             if (NM_IS_DEVICE_ETHERNET (candidate)) {
>                 best_dev = candidate_dev;
>                 best = candidate;
>             }
>         }
>         ...
>
> Is NM_IS_DEVICE_ETHERNET (candidate) correct? The 'candidate' type is
> NMActiveConnection. It should use candidate_dev instead?

Fixed, thanks!

Tambet
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to