Question about function applet_get_best_activating_connection()
- From: 代尔欣 <daierxin gmail com>
- To: networkmanager-list <networkmanager-list gnome org>
- Subject: Question about function applet_get_best_activating_connection()
- Date: Wed, 16 Sep 2009 10:54:55 +0800
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?
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]