If there is a VPN connection on Blue this is not shown
as VPN in connections GUI
Reason is that the VPN def is added *after* Blue in
connections.cgi
If these lines are moved upwards (before # Add Blue
Network) everything works OK.
# Add VPNs
if ( $vpn[0] ne 'none' ) {
foreach my $line (@vpn) {
my @temp = split(/[\t ]+/,$line);
my @temp1 = split(/[\/:]+/,$temp[3]);
push(@network, $temp1[0]);
push(@masklen, ipv4_cidr2msk($temp1[1]));
push(@colour, ${Header::colourvpn} );
}
}
Logged In: YES
user_id=1041094
Ok done, vpn have priority over other interfaces.