]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
netexternal.cgi: Fixed bug13834 - tun0 graph missing in external net traffic
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 15 May 2025 11:49:17 +0000 (13:49 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 May 2025 14:58:44 +0000 (14:58 +0000)
- Some additional rrd directory and file name changes missed from collect-5 update.

Fixes: bug13834
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/netexternal.cgi

index fb1097d61452a9ad95434390b87fa84e65eb8208..79ba1c0b84b8219c2105cd6619951dda0feba9a8 100644 (file)
@@ -55,11 +55,11 @@ if ($netsettings{'RED_TYPE'} ne 'PPPOE'){
        push (@graphs, "ppp0");
 }
 
-if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-ipsec0.rrd"){
+if (-e "/var/log/rrd/collectd/localhost/interface-ipsec0/if_octets.rrd"){
        push (@graphs, ("ipsec0"));
 }
 
-if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-tun0.rrd"){
+if (-e "/var/log/rrd/collectd/localhost/interface-tun0/if_octets.rrd"){
        push (@graphs, ("tun0"));
 }