Commits

Joshua Root authored 8aee2ace1b7
mrtg-ping-probe: apply patch from freebsd to fix packet loss reporting (https://trac.macports.org/ticket/22077)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@129587 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

net/mrtg-ping-probe/files/mrtg-ping-probe.patch

Added
1 +--- mrtg-ping-probe.orig 2003-09-14 03:20:24.000000000 +0900
2 ++++ mrtg-ping-probe 2009-03-10 08:01:20.000000000 +0900
3 +@@ -284,7 +284,7 @@
4 +
5 + # try to find packet loss
6 + # ToDo: only if requested?)
7 +- if ($ping_output =~ m@(\d+)% (?:packet )?loss(?:$|,)@m) {
8 ++ if ($ping_output =~ m@(\d+(?:\.\d+)?)% (?:packet )?loss(?:$|,)@m) {
9 + # Unix
10 + $pt{loss} = $1;
11 + }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut