summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-22 15:15:40 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-22 15:15:40 +0200
commit50360635f1bcd2f3dd2a1ec10b4cb5faf5aded08 (patch)
tree066db19df2afeba9810e42eddd5a5af9a97933aa /bin/efa
parentdb9341b53fd2a71458dc52ac2f56ff41c8831b88 (diff)
efa: Support more non-timestamped connections
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index a3ebcf8..06c0f03 100755
--- a/bin/efa
+++ b/bin/efa
@@ -67,12 +67,12 @@ sub parse_content($) {
for (my $i = 0; @{$raw->[$offer]} >= (($i+1) * $groupsize) - 1; $i++) {
$offset = $i * $groupsize;
undef(@extra);
- if ($raw->[$offer]->[$offset+2] =~ /^Fußweg/) {
+ if ($raw->[$offer]->[$offset+2] =~ /^(Fußweg|Anschluss wird.*abgewartet)/) {
# These are generic, which means they don't contain a time
splice(@{$raw->[$offer]}, $offset, 0, '');
splice(@{$raw->[$offer]}, $offset+4, 0, '');
}
- if ($raw->[$offer]->[$offset+3] =~ /^Fußweg/) {
+ if ($raw->[$offer]->[$offset+3] =~ /^(Fußweg|Anschluss wird.*abgewartet)/) {
# These messages lack the last element, so inject it
splice(@{$raw->[$offer]}, $offset+7, 0, '');
}