diff --git a/dist/icon/favicon.ico b/dist/favicon.ico similarity index 100% rename from dist/icon/favicon.ico rename to dist/favicon.ico diff --git a/dist/js/main.js b/dist/js/main.js index 0f0f065..429f8c6 100644 --- a/dist/js/main.js +++ b/dist/js/main.js @@ -154,6 +154,10 @@ function addRow(network, netSize, colspan, note, notesWidth, color) { let addressLast = subnet_last_address(addressFirst, netSize) // Will need to adjust this for AWS mode let usableFirst = addressFirst + 1 + if (operatingMode === 'AWS') { + // https://docs.aws.amazon.com/vpc/latest/userguide/subnet-sizing.html + usableFirst += 3 + } let usableLast = addressLast - 1 let hostCount = 1 + usableLast - usableFirst let styleTag = ''