mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 11:00:09 +01:00
device: fix fetching the IPv6 default route for assumed devices
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
b75dfc62e8
commit
5f017e96b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue