Fix error when internal networks are present
This commit is contained in:
parent
58bde04833
commit
567ad0b8cb
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue