Mercurial > hg > anonet-resdb
comparison doc/ucis.ano/bgp_graph/path_list_to_dot.php @ 64:b1e1c567665b draft
stupid typo
author | Nick <nick@somerandomnick.ano> |
---|---|
date | Thu, 17 Jun 2010 17:44:14 +0000 |
parents | 9d5a5c74f191 |
children | 3ef3b47c7437 |
comparison
equal
deleted
inserted
replaced
63:9d5a5c74f191 | 64:b1e1c567665b |
---|---|
31 case '64731': return 'SRN'; | 31 case '64731': return 'SRN'; |
32 case '64766': return 'UFO'; | 32 case '64766': return 'UFO'; |
33 case '64768': return 'yang'; | 33 case '64768': return 'yang'; |
34 case '64738': return 'welterde'; | 34 case '64738': return 'welterde'; |
35 case '64827': return 'deelkar'; | 35 case '64827': return 'deelkar'; |
36 case '64680': case '64692': return rtrim(`echo $ndoe | ./asn2descr`); | 36 case '64680': case '64692': return rtrim(`echo $node | ./asn2descr`); |
37 }; return NULL; }; | 37 }; return NULL; }; |
38 | 38 |
39 function nodename ($node) { | 39 function nodename ($node) { |
40 $node=preg_replace('/[^0-9]+/','',$node); | 40 $node=preg_replace('/[^0-9]+/','',$node); |
41 if (($name=static_nodename($node))!==NULL) return $name; | 41 if (($name=static_nodename($node))!==NULL) return $name; |