Skip to content
Snippets Groups Projects
Commit 3340aaea authored by echicken's avatar echicken :chicken:
Browse files

Default [node,hub].net to zone number when entering new Zone.

Would be overridden if a Region or Host line is encountered.
This dumbness brought to you by FTS-5000.005.
nelgin to test against his extensive nodelist collection.
parent 812e9a69
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -107,10 +107,10 @@ function NodeList(filename, warn)
switch(fields[0]) {
case 'Zone':
node.zone = parseInt(fields[1], 10);
node.net = 0;
node.net = node.zone;
node.node = 0;
hub.zone = node.zone;
hub.net = 0;
hub.net = node.zone;
hub.node = 0;
break;
case 'Region':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment