mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 03:40:38 +01:00
device: define auto variables on separate lines in connection_requires_carrier()
(cherry picked from commit 5b8e6c01a9)
This commit is contained in:
parent
93773febb5
commit
1ebf60d8ff
1 changed files with 6 additions and 3 deletions
|
|
@ -10678,10 +10678,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…
Add table
Reference in a new issue