- One location in netovpnrw.cgi was missed with a filename change coming from 
the collectd
   update.
- This resulted in missing graph content for the openvpn road warrior graphs.
- Tested out on my production IPFire system. Making the change resulted in the 
grahs
   being visible again.

Fixes: Bug13838
Tested-by: Adolf Belka <adolf.be...@ipfire.org>
Signed-off-by: Adolf Belka <adolf.be...@ipfire.org>
---
 html/cgi-bin/netovpnrw.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/netovpnrw.cgi b/html/cgi-bin/netovpnrw.cgi
index 5014f9a55..fb81e9ffe 100644
--- a/html/cgi-bin/netovpnrw.cgi
+++ b/html/cgi-bin/netovpnrw.cgi
@@ -43,7 +43,7 @@ my @vpns=();
 
 my @vpngraphs = `find /var/log/rrd/collectd/localhost/openvpn-*/ -not  -path 
*openvpn-UNDEF*  -not -path *openvpn-*n2n* -name *.rrd 2>/dev/null|sort`;
 foreach (@vpngraphs){
-       if($_ =~ /(.*)\/openvpn-(.*)\/if_octets_derive.rrd/){
+       if($_ =~ /(.*)\/openvpn-(.*)\/if_octets.rrd/){
                push(@vpns,$2);
        }
 }
-- 
2.49.0


Reply via email to