From a161d7e5f6fbe0e6be7fc100c766f0962db383c9 Mon Sep 17 00:00:00 2001 From: Caesar Kabalan Date: Wed, 31 May 2023 14:28:21 -0400 Subject: [PATCH] Update Favicon and AWS Operating Mode --- dist/{icon => }/favicon.ico | Bin dist/js/main.js | 4 ++++ 2 files changed, 4 insertions(+) rename dist/{icon => }/favicon.ico (100%) 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 = ''