diff options
author | root <root@krebs> | 2011-09-01 16:44:21 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-09-01 16:44:21 +0200 |
commit | 6f2df7825a1896ac00480fcd68345629c72386ea (patch) | |
tree | 8e9bb6153648744ef31741d35c107aa54933f4c8 /retiolum/scripts/adv_graphgen/parse.py | |
parent | a0f23b72769deac88e414b1cfdfdbde5882ba704 (diff) | |
parent | 57c5c973a40bf718f99c6e0fcd65b416514e2257 (diff) |
Merge branch 'master' of github.com:/krebscode/painload
Conflicts:
streams/stream.db
Diffstat (limited to 'retiolum/scripts/adv_graphgen/parse.py')
-rwxr-xr-x | retiolum/scripts/adv_graphgen/parse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/retiolum/scripts/adv_graphgen/parse.py b/retiolum/scripts/adv_graphgen/parse.py index 4b9314cc..0bcf42a0 100755 --- a/retiolum/scripts/adv_graphgen/parse.py +++ b/retiolum/scripts/adv_graphgen/parse.py @@ -47,6 +47,7 @@ def write_node(k,v): edges are weightet with the informations inside the nodes provided by tinc """ + node = " "+k+"[label=\"" node += k+"\\l" node += "external:"+v['external-ip']+":"+v['external-port']+"\\l" @@ -57,7 +58,7 @@ def write_node(k,v): node +="\"" if v['external-ip'] == "MYSELF": node += ",fillcolor=steelblue1" - node +=",group="+v['external-ip'].replace(".","")+"" + node +=",group=\""+v['external-ip'].replace(".","")+"\"" node += "]" print node |