Makgraphs pingt jetzt wieder den ersten Hop.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@379 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-01-04 23:01:10 +00:00
parent e455cafe40
commit 66801d8b7f

View File

@@ -702,7 +702,7 @@ sub updatelq {
my $roundtrip=0;
my $test=0;
# LQ_GATEWAY is the ip of your isp's public ip facing you
my $LQ_GATEWAY='www.heise.de';
my $LQ_GATEWAY=`netstat -rn | grep ^0.0.0.0 | awk '{print \$2}'`;
my $NUMPINGS=10;
my $pingoutput = `ping -c $NUMPINGS -q $LQ_GATEWAY`;
chomp;