From: Adolf Belka Date: Thu, 15 May 2025 11:49:17 +0000 (+0200) Subject: netexternal.cgi: Fixed bug13834 - tun0 graph missing in external net traffic X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5321ccf52d0c7baa85d3319cd4f356d1b76ae2b;p=ipfire-2.x.git netexternal.cgi: Fixed bug13834 - tun0 graph missing in external net traffic - Some additional rrd directory and file name changes missed from collect-5 update. Fixes: bug13834 Tested-by: Adolf Belka Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/netexternal.cgi b/html/cgi-bin/netexternal.cgi index fb1097d61..79ba1c0b8 100644 --- a/html/cgi-bin/netexternal.cgi +++ b/html/cgi-bin/netexternal.cgi @@ -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")); }