summaryrefslogtreecommitdiff
path: root/src/nm-policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-policy.c')
-rw-r--r--src/nm-policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-policy.c b/src/nm-policy.c
index bb0111c7a6..03c1a4bc55 100644
--- a/src/nm-policy.c
+++ b/src/nm-policy.c
@@ -166,7 +166,7 @@ static void
_clear_ip6_subnet (gpointer key, gpointer value, gpointer user_data)
{
NMPlatformIP6Address *subnet = value;
- NMDevice *device = nm_manager_get_device_by_ifindex (nm_manager_get (),
+ NMDevice *device = nm_manager_get_device_by_ifindex (NM_MANAGER_GET,
GPOINTER_TO_INT (key));
if (device) {