mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user