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
(cherry picked from commit bc26f94d1e)
(cherry picked from commit dbacb9ae09)
This commit is contained in:
Beniamino Galvani 2016-11-02 11:21:49 +01:00
parent 8ecc5e37d3
commit 84563b7a6d

View file

@ -595,7 +595,7 @@ nm_ppp_manager_class_init (NMPPPManagerClass *manager_class)
g_type_class_add_private (manager_class, sizeof (NMPPPManagerPrivate));
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;
object_class->dispose = dispose;