summaryrefslogtreecommitdiff
path: root/src/ppp-manager/nm-ppp-manager.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-02-27 16:49:42 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-02-27 16:50:09 +0100
commitf981407a0235b8dcba88e0f2d97a10c509d3b5ce (patch)
treea8ca1c73d081c63c76c56aa42d90fff8395fc160 /src/ppp-manager/nm-ppp-manager.c
parent84f54f0a5f5cc90887aec3357289fe9429da738a (diff)
core: pass ifindex as parameter to nm_ip6_config_new()
Diffstat (limited to 'src/ppp-manager/nm-ppp-manager.c')
-rw-r--r--src/ppp-manager/nm-ppp-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c
index d5893338f..4a186dc81 100644
--- a/src/ppp-manager/nm-ppp-manager.c
+++ b/src/ppp-manager/nm-ppp-manager.c
@@ -651,8 +651,7 @@ impl_ppp_manager_set_ip6_config (NMPPPManager *manager,
remove_timeout_handler (manager);
- config = nm_ip6_config_new ();
- nm_ip6_config_set_ifindex (config, nm_platform_link_get_ifindex (priv->ip_iface));
+ config = nm_ip6_config_new (nm_platform_link_get_ifindex (priv->ip_iface));
memset (&addr, 0, sizeof (addr));
addr.plen = 64;