Update Favicon and AWS Operating Mode

This commit is contained in:
Caesar Kabalan 2023-05-31 14:28:21 -04:00
parent ed189f8282
commit a161d7e5f6
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 = ''