diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi
index 2d128f55d..042fdde0c 100644
--- a/html/cgi-bin/fwhosts.cgi
+++ b/html/cgi-bin/fwhosts.cgi
@@ -1236,7 +1236,7 @@ END
@@ -1256,7 +1256,7 @@ END
- |
- ";
+ ";
END
foreach my $key (sort { ncmp($customnetwork{$a}[0],$customnetwork{$b}[0]) } keys %customnetwork) {
print"";
@@ -1302,7 +1302,7 @@ END
|
- ";
+ ";
END
foreach my $key (sort { ncmp($customhost{$a}[0],$customhost{$b}[0]) } keys %customhost) {
print"";
@@ -1322,7 +1322,7 @@ END
|
- ";
+ ";
END
foreach my $key (sort { ncmp($ccdnet{$a}[0],$ccdnet{$b}[0]) } keys %ccdnet)
{
@@ -1331,10 +1331,17 @@ END
print" | ";
}
#OVPN clients
+ my @ovpn_clients=();
foreach my $key (sort { ncmp($ccdhost{$a}[0],$ccdhost{$b}[0]) } keys %ccdhost)
{
if ($ccdhost{$key}[33] ne ''){
- print<
- " if ($show eq '');
+ " if ($show eq '');
END
- $show='1';
- print"";
+ foreach(@ovpn_clients){
+ print"";
}
+ print" | ";
}
- if ($show eq '1'){$show='';print"";}
#OVPN n2n networks
+ my @OVPN_N2N=();
foreach my $key (sort { ncmp($ccdhost{$a}[1],$ccdhost{$b}[1]) } keys %ccdhost) {
if($ccdhost{$key}[3] eq 'net'){
- print<
- "
+ "
END
- $show='1';
- print"";
+ foreach(@OVPN_N2N){
+ print"";
}
+ print" | ";
}
- if ($show eq '1'){$show='';print"";}
#IPsec networks
+ my @IPSEC_N2N=();
foreach my $key (sort { ncmp($ipsecconf{$a}[0],$ipsecconf{$b}[0]) } keys %ipsecconf) {
if ($ipsecconf{$key}[3] eq 'net'){
- print<
- "
+ "
END
- $show='1';
- print"";
+ foreach(@IPSEC_N2N){
+ print"";
}
}
- if ($show eq '1'){$show='';print" | ";}
+ print"";
print"";
print"";
print"
";
@@ -1479,9 +1500,28 @@ END
print<
+
+
+
+
+
+ |
+
+
+
END
}
if($fwhostsettings{'updatesrvgrp'} eq 'on'){