diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-16 16:43:20 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-16 16:43:20 +0200 |
commit | 9f331253629a050adfd2b488f02705215d17083b (patch) | |
tree | 33956119662c5217e3afd1e7ee4a5bd2cc1bbd3b | |
parent | db7971565393852b21d547a37df23c0a0b49bf74 (diff) |
Fix ekgping on systems where ping reports icmp_seq (used to assume icmp_req)
-rw-r--r-- | Changelog | 5 | ||||
-rwxr-xr-x | bin/ekgping | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 ) |