mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-31 11:00:32 +01:00
device: fix crash in master_ready() logging unset priv->master
Fixes: f45f702a5e
This commit is contained in:
parent
03f8ba490a
commit
1104110865
1 changed files with 1 additions and 1 deletions
|
|
@ -3272,7 +3272,7 @@ master_ready (NMDevice *self,
|
|||
master = nm_active_connection_get_device (master_connection);
|
||||
|
||||
_LOGD (LOGD_DEVICE, "master connection ready; master device %s",
|
||||
nm_device_get_iface (priv->master));
|
||||
nm_device_get_iface (master));
|
||||
|
||||
if (priv->master && priv->master != master)
|
||||
nm_device_master_release_one_slave (priv->master, self, FALSE, NM_DEVICE_STATE_REASON_CONNECTION_ASSUMED);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue