Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
97e28d44
Commit
97e28d44
authored
Sep 16, 2015
by
intrigeri
Browse files
Merge remote-tracking branch 'origin/bugfix/7689-fix-tails-restricted-network-detector' into stable
Fix-committed:
#7689
parents
689316b7
5219f119
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/local/sbin/tails-restricted-network-detector
View file @
97e28d44
...
...
@@ -61,9 +61,15 @@ while(my $sl = $parser->next) {
# The beginning of *all* (not only wireless) new
# connections. We drop any previous state so it won't
# interfere.
$state
{
$
1
}
=
undef
;
}
elsif
(
$text
=~
/\(([^)]+)\): supplicant connection state:.*-> (.*)$/
)
{
# Wireless connection state transition.
$state
{
$
1
}
=
"";
}
elsif
(
$text
=~
/\(([^)]+)\): supplicant (?:connection|interface) state: \S+ -> (\S+)/
||
$text
=~
/\(([^)]+)\): device state change: \S+ -> (\S+)/
)
{
# NetworkManager logs state transitions with the above
# messages, but the really important part is that we
# accurately log the state changes *to* and *from*
# "associating" (for the next case). Hence the safest bet
# seems to be to deal with all observed types of transitions
# that NetworkManager logs.
$state
{
$
1
}
=
$
2
;
}
elsif
(
$text
=~
/Activation \(([^)]+)\/[^)]*\): association took too long/
)
{
# Wireless connection failure. If it happens during
...
...
intrigeri
@intrigeri
mentioned in issue
#7689 (closed)
·
May 15, 2020
mentioned in issue
#7689 (closed)
mentioned in issue #7689
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment