mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
device: define auto variables on separate lines in connection_requires_carrier()
This commit is contained in:
parent
42f20a4edf
commit
5b8e6c01a9
|
@ -10902,10 +10902,13 @@ connection_ip_method_requires_carrier(NMConnection *connection,
|
|||
static gboolean
|
||||
connection_requires_carrier(NMConnection *connection)
|
||||
{
|
||||
NMSettingIPConfig *s_ip4, *s_ip6;
|
||||
NMSettingIPConfig *s_ip4;
|
||||
NMSettingIPConfig *s_ip6;
|
||||
NMSettingConnection *s_con;
|
||||
gboolean ip4_carrier_wanted, ip6_carrier_wanted;
|
||||
gboolean ip4_used = FALSE, ip6_used = FALSE;
|
||||
gboolean ip4_carrier_wanted;
|
||||
gboolean ip6_carrier_wanted;
|
||||
gboolean ip4_used = FALSE;
|
||||
gboolean ip6_used = FALSE;
|
||||
|
||||
/* We can progress to IP_CONFIG now, so that we're enslaved.
|
||||
* That may actually cause carrier to go up and thus continue activation. */
|
||||
|
|
Loading…
Reference in a new issue