From cc2415faf03fea0346314364b58b1fb61f821654 Mon Sep 17 00:00:00 2001 From: Darryl Quinn Date: Sun, 14 Jun 2015 20:50:54 -0500 Subject: [PATCH] bigfix: active icon not appearing on server --- files/www/cgi-bin/vpn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/files/www/cgi-bin/vpn b/files/www/cgi-bin/vpn index 393f67a5..851a0931 100755 --- a/files/www/cgi-bin/vpn +++ b/files/www/cgi-bin/vpn @@ -381,8 +381,11 @@ sub print_vpn_clients() print " $fullnet"; print ""; print " "; - print "" if (&is_tunnel_active($name,@active_tun) && ($val ne "_add")); - print "" if ($val ne "_add"); + if (&is_tunnel_active($fullnet,@active_tun) && ($val ne "_add")) { + print ""; + } else { + print ""; + } print ""; print "" if($val eq "_add"); print "";