From: ms Date: Thu, 4 Jan 2007 23:01:10 +0000 (+0000) Subject: Makgraphs pingt jetzt wieder den ersten Hop. X-Git-Tag: v2.3-beta1~875 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=66801d8b7f657c11631cb174756b3da3513f34fb Makgraphs pingt jetzt wieder den ersten Hop. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@379 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 89159fbb53..7d4ee24793 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;