summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGenerate1
1 files changed, 1 insertions, 0 deletions
diff --git a/Generate b/Generate
index b8fc7d2..dccbdfd 100755
--- a/Generate
+++ b/Generate
@@ -294,6 +294,7 @@ $config['hosts'].each_pair{ |name, host|
}
throw "Duplicate iface names" unless hostlist.collect{ |host| host['ifacename'] }.uniq.size == $config['hosts'].size
+# Setup peers and link local addresses
hostlist.each{ |host|
host['peers'] = hostlist.find_all{ |peer|
host['name'] != peer['name'] and