From 446d497040f5e71a1d6a842b82cdab07ef54a0fa Mon Sep 17 00:00:00 2001 From: Eric Caruso Date: Mon, 30 Nov 2020 09:25:10 -0800 Subject: [PATCH] introspection: fix Bearer documentation If e.g. a bearer with IPv6 configuration has DNS servers but exports its link-local address, MM will avoid giving it the "static" method type, and instead fall back to the "dhcp" type. However, it may still have DNS information. Therefore, the comment that "method" is the only property on configuration with type DHCP is misleading. --- introspection/org.freedesktop.ModemManager1.Bearer.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml index a07ee057..fb008797 100644 --- a/introspection/org.freedesktop.ModemManager1.Bearer.xml +++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml @@ -120,7 +120,7 @@ If the bearer specifies configuration via PPP or DHCP, only the - "method" item will be present. + "method" item is guaranteed to be present. Additional items which are only applicable when using the MM_BEARER_IP_METHOD_STATIC