mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
network: rename SetupState to AdministrativeState
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.
This commit is contained in:
parent
e3c6892455
commit
ea5e55b311
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user