]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: rename SetupState to AdministrativeState
authorLaserEyess <lasereyess@users.noreply.github.com>
Fri, 10 Dec 2021 00:28:31 +0000 (19:28 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Dec 2021 09:42:34 +0000 (18:42 +0900)
This is more consistent with the terminology used elsewhere. In
particular it is consistent with the name of the property exposed over
dbus for the link state.

src/network/networkd-json.c

index f2bd4982fe0ad0a78826c8307bae67e67ed5240e..fb1f50063ea0ff99e9859ca953c59caea965a009 100644 (file)
@@ -1196,7 +1196,7 @@ int link_build_json(Link *link, JsonVariant **ret) {
                                 JSON_BUILD_PAIR_STRING_NON_EMPTY("SSID", link->ssid),
                                 JSON_BUILD_PAIR_ETHER_ADDR_NON_NULL("BSSID", &link->bssid),
                                 /* link state */
-                                JSON_BUILD_PAIR_STRING("SetupState", link_state_to_string(link->state)),
+                                JSON_BUILD_PAIR_STRING("AdministrativeState", link_state_to_string(link->state)),
                                 JSON_BUILD_PAIR_STRING("OperationalState", link_operstate_to_string(link->operstate)),
                                 JSON_BUILD_PAIR_STRING("CarrierState", link_carrier_state_to_string(link->carrier_state)),
                                 JSON_BUILD_PAIR_STRING("AddressState", link_address_state_to_string(link->address_state)),