]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/network.cgi
Add network graph for tun0 interface
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / network.cgi
index 3543780578de383f85e1148586fe551cf808c01c..1434bd1bb6afcb5f58ffa0227907d9af61fa2371 100644 (file)
@@ -60,6 +60,7 @@ if ($cgiparams[1] =~ /red/) {
            push (@graphs, "ppp0");
        }
        if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-ipsec0.rrd") {push (@graphs, ("ipsec0"));}
+       if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-tun0.rrd") {push (@graphs, ("tun0"));}
 }elsif ($cgiparams[1] =~ /other/) {
        &Header::openpage($Lang::tr{'network traffic graphs others'}, 1, '');
        my @pinggraphs = `ls -dA /var/log/rrd/collectd/localhost/ping/*`;