From 5f017e96b34d46675af76f84e6b3e1df15fa16dc Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 11 Nov 2014 12:21:14 +0100 Subject: device: fix fetching the IPv6 default route for assumed devices Signed-off-by: Thomas Haller --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 3390bf765e..263e1f64d3 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -3353,7 +3353,7 @@ ip6_config_merge_and_apply (NMDevice *self, NMPlatformIP6Route *route = &priv->default_route.v6; if (assumed) - priv->default_route.v6_has = _device_get_default_route_from_platform (self, AF_INET, (NMPlatformIPRoute *) route); + priv->default_route.v6_has = _device_get_default_route_from_platform (self, AF_INET6, (NMPlatformIPRoute *) route); else { gateway = nm_ip6_config_get_gateway (composite); if (gateway) { -- cgit v1.2.1