]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
openvpn: Change colour of N2N connections.
authorErik Kapfer <erik.kapfer@ipfire.org>
Thu, 24 May 2012 08:47:37 +0000 (10:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 May 2012 08:47:37 +0000 (10:47 +0200)
From https://bugzilla.ipfire.org/show_bug.cgi?id=10137:
The first patch i have made is to give the index.cgi the origin colour (the
same then for the roadwarrior) for OpenVPN N2N connections on IPFire. At this
time the colour is stated in IPSec colour, so i made a patch to change this.

html/cgi-bin/index.cgi

index 002352354a15a05ad780ba64ced3f66547328964..07dc9e7fb802a9d46dce2163efdc230e30eb8da5 100644 (file)
@@ -421,7 +421,7 @@ if ($confighash{$dkey}[3] eq 'net') {
           $display = "<font color=$Header::colourred>$tustate[1]</font>"; }
  
        print <<END;
-       <tr><td align='center' bgcolor='$Header::colourvpn' width='25%'><a href="/cgi-bin/ovpnmain.cgi"><font size='2' color='white'><b>OpenVPN n2n</b></font></a><br>
+       <tr><td align='center' bgcolor='$Header::colourovpn' width='25%'><a href="/cgi-bin/ovpnmain.cgi"><font size='2' color='white'><b>OpenVPN n2n</b></font></a><br>
   <td width='30%' align='center'> $confighash{$dkey}[10]<td width='45%' align='center'> $display 
 
 END