summary refs log tree commit diff
path: root/src/core/dhcp/nm-dhcp-dhclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dhcp/nm-dhcp-dhclient.c')
-rw-r--r--src/core/dhcp/nm-dhcp-dhclient.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/dhcp/nm-dhcp-dhclient.c b/src/core/dhcp/nm-dhcp-dhclient.c
index 043c2264..7e00599c 100644
--- a/src/core/dhcp/nm-dhcp-dhclient.c
+++ b/src/core/dhcp/nm-dhcp-dhclient.c
@@ -462,6 +462,11 @@ dhclient_start(NMDhcpClient *client,
               "to LOWDELAY (0x10).");
     }
 
+    if (client_config->v4.ipv6_only_preferred) {
+        _LOGW("the dhclient backend does not support the \"IPv6-Only Preferred\" option; ignoring "
+              "it");
+    }
+
     /* Usually the system bus address is well-known; but if it's supposed
      * to be something else, we need to push it to dhclient, since dhclient
      * sanitizes the environment it gives the action scripts.