summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device-ppp.c')
-rw-r--r--src/devices/nm-device-ppp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-ppp.c b/src/devices/nm-device-ppp.c
index d6f6185062..94add02e0e 100644
--- a/src/devices/nm-device-ppp.c
+++ b/src/devices/nm-device-ppp.c
@@ -81,7 +81,7 @@ ppp_ifindex_set (NMPPPManager *ppp_manager,
}
if (old_name)
- nm_manager_remove_device (nm_manager_get (), old_name, NM_DEVICE_TYPE_PPP);
+ nm_manager_remove_device (NM_MANAGER_GET, old_name, NM_DEVICE_TYPE_PPP);
nm_device_activate_schedule_stage3_ip_config_start (device);
}