summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-11 12:21:14 +0100
committerThomas Haller <thaller@redhat.com>2014-11-11 12:21:14 +0100
commit5f017e96b34d46675af76f84e6b3e1df15fa16dc (patch)
tree8aef31a69bd5b5b958e2634fdc0cce8bede65529
parentb75dfc62e899098e1178fddf991dce2772c51eec (diff)
downloadNetworkManager-5f017e96b34d46675af76f84e6b3e1df15fa16dc.tar.gz
device: fix fetching the IPv6 default route for assumed devices
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
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) {