mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 02:50:10 +01:00
device: reword logging line about device's state change
The line
device (wlan0): state change: ip-config -> ip-check (reason none, internal state managed)
prints the sys-iface-state, which is at other places logged with
device[0x55914506ed70] (wlan0): sys-iface-state: external -> managed
For consistency, name the same parameter the same.
This commit is contained in:
parent
3a81e20d76
commit
71b5cc3682
1 changed files with 2 additions and 2 deletions
|
|
@ -12796,7 +12796,7 @@ _set_state_full (NMDevice *self,
|
|||
if ( (priv->state == state)
|
||||
&& ( state != NM_DEVICE_STATE_UNAVAILABLE
|
||||
|| !priv->firmware_missing)) {
|
||||
_LOGD (LOGD_DEVICE, "state change: %s -> %s (reason '%s', internal state '%s'%s)",
|
||||
_LOGD (LOGD_DEVICE, "state change: %s -> %s (reason '%s', sys-iface-state: '%s'%s)",
|
||||
nm_device_state_to_str (old_state),
|
||||
nm_device_state_to_str (state),
|
||||
reason_to_string (reason),
|
||||
|
|
@ -12805,7 +12805,7 @@ _set_state_full (NMDevice *self,
|
|||
return;
|
||||
}
|
||||
|
||||
_LOGI (LOGD_DEVICE, "state change: %s -> %s (reason '%s', internal state '%s')",
|
||||
_LOGI (LOGD_DEVICE, "state change: %s -> %s (reason '%s', sys-iface-state: '%s')",
|
||||
nm_device_state_to_str (old_state),
|
||||
nm_device_state_to_str (state),
|
||||
reason_to_string (reason),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue