From 66801d8b7f657c11631cb174756b3da3513f34fb Mon Sep 17 00:00:00 2001 From: ms Date: Thu, 4 Jan 2007 23:01:10 +0000 Subject: [PATCH] Makgraphs pingt jetzt wieder den ersten Hop. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@379 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- src/scripts/makegraphs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 89159fbb5..7d4ee2479 100644 --- a/src/scripts/makegraphs +++ b/src/scripts/makegraphs @@ -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;