Changeset 278


Ignore:
Timestamp:
Sep 25, 2017, 5:25:47 PM (7 years ago)
Author:
g7moreau
Message:
  • Double arrow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r277 r278  
    77use strict;
    88use warnings;
    9 use version; our $VERSION = qv('0.6.5');
     9use version; our $VERSION = qv('0.6.6');
    1010
    1111use Readonly;
     
    28722872      else {
    28732873         my $style = 'solid';
    2874          $style = 'bold' if $db_switch_output_port{$sw} =~ m/^(Trk|Br|Po)/;
    2875          printf "   \"%s:%s\" -> internet [style=$style, color = navyblue]\n", $sw, $db_switch_output_port{$sw};
     2874         my $color = 'navyblue';
     2875         if ($db_switch_output_port{$sw} =~ m/^(Trk|Br|Po)/) {
     2876            $style = 'bold';
     2877            $color = "\"$color:invis:$color\"";
     2878            }
     2879         printf "   \"%s:%s\" -> internet [style=$style, color = $color]\n", $sw, $db_switch_output_port{$sw};
    28762880         }
    28772881      }
     
    28842888      for my $sw (keys %{$db_switch_connected_on_port{$swport}}) {
    28852889         my $style = 'solid';
    2886          $style = 'bold' if $port_connect =~ m/^(Trk|Br|Po)/;
     2890         my $color = 'navyblue';
     2891         if ($port_connect =~ m/^(Trk|Br|Po)/) {
     2892            $style = 'bold';
     2893            $color = "\"$color:invis:$color\"";
     2894            }
    28872895         if (exists $db_switch_output_port{$sw}) {
    2888             printf "   \"%s:%s\" -> \"%s:%s\" [style=$style, color = navyblue]\n", $sw, $db_switch_output_port{$sw}, $sw_connect, $port_connect;
     2896            printf "   \"%s:%s\" -> \"%s:%s\" [style=$style, color = $color]\n", $sw, $db_switch_output_port{$sw}, $sw_connect, $port_connect;
    28892897            }
    28902898         else {
Note: See TracChangeset for help on using the changeset viewer.