summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog5
-rwxr-xr-xbin/ekgping2
2 files changed, 6 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 2ebbed5..9bacdee 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,8 @@
+git HEAD
+
+ * Fix ping -n parser - apparently it was based on a buggy ping output.
+ See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609853>
+
ekgping 1.1 - Thu Jun 16 2011
* You can now run ekgping -f beepfile without having to run
diff --git a/bin/ekgping b/bin/ekgping
index 38e292b..f7a4368 100755
--- a/bin/ekgping
+++ b/bin/ekgping
@@ -60,7 +60,7 @@ sub parse_ping_output {
if (
$line =~ m{ ^ \d+ \s bytes \s from \s \S+ \s
- icmp_req = (?<id> \d+ ) \s
+ icmp_.eq = (?<id> \d+ ) \s
ttl = (?<ttl> \d+ ) \s
time = (?<time> [\d.]+) \s ms }x
)