team: request actual configuration to teamd

Request the actual configuration when reading it from teamd. The
actual configuration, differently from the normal one, doesn't contain
non-active team ports.
This commit is contained in:
Beniamino Galvani 2016-07-02 11:33:38 +02:00
parent 1fbdd4d008
commit 791bca1dcc

View file

@ -161,7 +161,7 @@ teamd_read_config (NMDevice *device)
int err;
if (priv->tdc) {
err = teamdctl_config_get_raw_direct (priv->tdc, &config);
err = teamdctl_config_actual_get_raw_direct (priv->tdc, &config);
if (err)
return FALSE;
}