Menu

#583 VPN on blue does not show up as VPN

closed-fixed
nobody
None
5
2006-09-22
2006-09-21
No

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} );
}
}

Discussion

  • Franck Bourdonnec

    Logged In: YES
    user_id=1041094

    Ok done, vpn have priority over other interfaces.

     
  • Franck Bourdonnec

    • status: open --> closed-fixed
     

Log in to post a comment.