summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2020-09-09 10:59:12 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2020-09-09 11:02:57 +0200
commita0179362231e2c1c4ebba7d5616da2a4677b1c4b (patch)
tree3b299bdad2981ab235350cb8f28720a6d0ce85d5
parentb867ac56a48167fb3263fbe569898e7b16c18ca3 (diff)
downloadNetworkManager-a0179362231e2c1c4ebba7d5616da2a4677b1c4b.tar.gz
device: fix wrongly considering ipv6.may-fail for ipv4
Fixes: 5e71f016057a ('device: merge stage3 and stage4 ip-config function for IPv4 and IPv6')
-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 c325b40bc3..832116bd05 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -11748,7 +11748,7 @@ activate_stage4_ip_config_timeout_4 (NMDevice *self)
NMActStageReturn ret = NM_ACT_STAGE_RETURN_FAILURE;
NMDeviceStateReason failure_reason = NM_DEVICE_STATE_REASON_NONE;
- ret = NM_DEVICE_GET_CLASS (self)->act_stage4_ip_config_timeout (self, AF_INET6, &failure_reason);
+ ret = NM_DEVICE_GET_CLASS (self)->act_stage4_ip_config_timeout (self, AF_INET, &failure_reason);
if (ret == NM_ACT_STAGE_RETURN_POSTPONE)
return;
else if (ret == NM_ACT_STAGE_RETURN_FAILURE) {