Changeset 203
- Timestamp:
- Jan 29, 2017, 6:11:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r202 r203 1444 1444 my $date = sprintf '%04i-%02i-%02i %02i:%02i', $year, $mon, $mday, $hour, $min; 1445 1445 1446 my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \. /xms, $ipv4_address;1446 my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \.\* /xms, $ipv4_address; # \* for fake-ip 1447 1447 1448 1448 my $mac_sort = sprintf '%04i-%s', 9999, $mac_address; … … 1494 1494 my $date = sprintf '%04i-%02i-%02i %02i:%02i', $year,$mon,$mday,$hour,$min; 1495 1495 1496 my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \. /xms, $ipv4_address; 1496 my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \. /xms, $ipv4_address; # \* for fake-ip 1497 1497 1498 1498 my $mac_sort = sprintf '%04i-%s', 9999, $mac_address; … … 2393 2393 print "digraph G {\n"; 2394 2394 print "rankdir = LR;\n"; 2395 #print "splines=polyline;\n"; 2395 2396 2396 2397 print "site [label = \"site\", color = black, fillcolor = gold, shape = invhouse, style = filled];\n"; … … 2402 2403 my $date = sprintf '%04i-%02i-%02i %02i:%02i', $year, $mon, $mday, $hour, $min; 2403 2404 print "\"$date\" [ color = white, fillcolor = black, shape = polygon, sides=14, style = filled, fontcolor = white ]\n"; 2405 print "site -> \"$date\" [color = white];\n"; 2404 2406 2405 2407 my $b=0;
Note: See TracChangeset
for help on using the changeset viewer.