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;