core: fix wired connection completion

It was using a connection base type of 'connection', which clearly
isn't right.
This commit is contained in:
Dan Williams 2011-03-28 10:42:19 -05:00
parent 74a0b1d9d1
commit b8a1a38640

View file

@ -1676,7 +1676,7 @@ real_complete_connection (NMDevice *device,
* then PPPoE should be our connection type.
*/
nm_utils_complete_generic (connection,
s_pppoe ? NM_SETTING_PPPOE_SETTING_NAME : NM_SETTING_CONNECTION_SETTING_NAME,
s_pppoe ? NM_SETTING_PPPOE_SETTING_NAME : NM_SETTING_WIRED_SETTING_NAME,
existing_connections,
s_pppoe ? _("PPPoE connection %d") : _("Wired connection %d"),
NULL,