[1/4] netexternal.cgi: Fixed bug13834 - tun0 graph missing in external net traffic
Commit Message
- 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>
---
html/cgi-bin/netexternal.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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"));
}