Changeset 278
- Timestamp:
- Sep 25, 2017, 5:25:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r277 r278 7 7 use strict; 8 8 use warnings; 9 use version; our $VERSION = qv('0.6. 5');9 use version; our $VERSION = qv('0.6.6'); 10 10 11 11 use Readonly; … … 2872 2872 else { 2873 2873 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}; 2876 2880 } 2877 2881 } … … 2884 2888 for my $sw (keys %{$db_switch_connected_on_port{$swport}}) { 2885 2889 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 } 2887 2895 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; 2889 2897 } 2890 2898 else {
Note: See TracChangeset
for help on using the changeset viewer.