mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 19:29:13 -05:00
Docker settings: fix subnet sizes
This commit is contained in:
@@ -781,8 +781,8 @@ function changeMask(id,val) {
|
||||
for (var b=1; b<=3; b++) {
|
||||
var cell = id+b;
|
||||
switch (b) {
|
||||
case 1: var step = floor(mask/65536)%256; break;
|
||||
case 2: var step = floor(mask/256)%256; break;
|
||||
case 1: var step = Math.floor(mask/65536)%256; break;
|
||||
case 2: var step = Math.floor(mask/256)%256; break;
|
||||
case 3: var step = mask%256; break;
|
||||
}
|
||||
if (step==0) step = 256;
|
||||
|
||||
Reference in New Issue
Block a user