ppp: add counter to D-Bus object path for PPP manager instances

There can be multiple PPP connections active, each with its own PPP
manager.

Fixes: c1dd3b6eed
This commit is contained in:
Beniamino Galvani
2016-11-02 11:21:49 +01:00
parent 354fc51bc6
commit bc26f94d1e

View File

@@ -1199,7 +1199,7 @@ nm_ppp_manager_class_init (NMPPPManagerClass *manager_class)
object_class->get_property = get_property;
object_class->set_property = set_property;
exported_object_class->export_path = NM_DBUS_PATH "/PPP";
exported_object_class->export_path = NM_DBUS_PATH "/PPP/%u";
exported_object_class->export_on_construction = TRUE;
obj_properties[PROP_PARENT_IFACE] =