summaryrefslogtreecommitdiff
path: root/bin/ekgping
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-16 16:43:20 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-16 16:43:20 +0200
commit9f331253629a050adfd2b488f02705215d17083b (patch)
tree33956119662c5217e3afd1e7ee4a5bd2cc1bbd3b /bin/ekgping
parentdb7971565393852b21d547a37df23c0a0b49bf74 (diff)
Fix ekgping on systems where ping reports icmp_seq (used to assume icmp_req)
Diffstat (limited to 'bin/ekgping')
-rwxr-xr-xbin/ekgping2
1 files changed, 1 insertions, 1 deletions
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
)