From dff7ed3e7671492471e383248f81e52303bd626d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 10 Jan 2024 10:43:11 +0100 Subject: [PATCH] introspection: use common format for DEPREACTED properties in introspection All other forms of deprecations use a "DEPRECATED:" tag. Adjust the documentation in the introspection for IP4Config/IP6Config. --- .../org.freedesktop.NetworkManager.IP4Config.xml | 16 ++++++++++++---- .../org.freedesktop.NetworkManager.IP6Config.xml | 9 ++++++--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.IP4Config.xml b/introspection/org.freedesktop.NetworkManager.IP4Config.xml index f6e18b76b5..cc72e2c76c 100644 --- a/introspection/org.freedesktop.NetworkManager.IP4Config.xml +++ b/introspection/org.freedesktop.NetworkManager.IP4Config.xml @@ -12,7 +12,9 @@ Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each array are in network byte order. Essentially: [(addr, prefix, gateway), - (addr, prefix, gateway), ...] Deprecated: use AddressData and Gateway + (addr, prefix, gateway), ...]. + + DEPRECATED: use AddressData and Gateway --> @@ -39,7 +41,9 @@ are in network byte order. 'route' and 'next hop' are IPv4 addresses, while prefix and metric are simple unsigned integers. Essentially: [(route, prefix, next-hop, metric), (route, prefix, next-hop, metric), - ...] Deprecated: use RouteData + ...]. + + DEPRECATED: use RouteData --> @@ -55,7 +59,9 @@ @@ -101,7 +107,9 @@ WinsServers: The Windows Internet Name Service servers associated with the connection. - Each address is in network byte order. Deprecated: use WinsServerData + Each address is in network byte order. + + DEPRECATED: use WinsServerData --> diff --git a/introspection/org.freedesktop.NetworkManager.IP6Config.xml b/introspection/org.freedesktop.NetworkManager.IP6Config.xml index e47b35f28e..3991f6ae9c 100644 --- a/introspection/org.freedesktop.NetworkManager.IP6Config.xml +++ b/introspection/org.freedesktop.NetworkManager.IP6Config.xml @@ -10,8 +10,9 @@ @@ -34,7 +35,9 @@