summaryrefslogtreecommitdiff
path: root/src/network/networkd-json.c
diff options
context:
space:
mode:
authorLaserEyess <lasereyess@users.noreply.github.com>2021-12-09 19:28:31 -0500
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-10 18:42:34 +0900
commitea5e55b3112205194cfb6302710e989158d95b1d (patch)
treec00453d21f944391964cfa77545dfe4f77b57097 /src/network/networkd-json.c
parente3c689245562ec5eaf06730ef33d697efccf0d62 (diff)
downloadsystemd-ea5e55b3112205194cfb6302710e989158d95b1d.tar.gz
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.
Diffstat (limited to 'src/network/networkd-json.c')
-rw-r--r--src/network/networkd-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-json.c b/src/network/networkd-json.c
index f2bd4982fe..fb1f50063e 100644
--- a/src/network/networkd-json.c
+++ b/src/network/networkd-json.c
@@ -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)),