Merge branch 'release/v1.0'

This commit is contained in:
Caesar Kabalan 2023-05-31 14:29:01 -04:00
commit 4d9bfc1dd1
No known key found for this signature in database
GPG key ID: DDFEF5FF6CFAB608
2 changed files with 4 additions and 0 deletions

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

4
dist/js/main.js vendored
View file

@ -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 = ''