Fix error when internal networks are present

This commit is contained in:
LeoVerto 2018-08-31 16:56:59 +02:00
parent 58bde04833
commit 567ad0b8cb

View file

@ -78,7 +78,7 @@ def generate_graph(verbose: bool, file: str):
net_node_id = "net_%s" % (net_name,) net_node_id = "net_%s" % (net_name,)
label = "{<gw_iface> %s | %s %s}" % (gateway, net_name, internal) label = "{<gw_iface> %s | %s %s}" % (gateway, net_name, internal)
g.node(net_node_id, g.node(net_node_id,
shape='record', shape='record',