mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Docker settings: subnet selection starts at /25
This commit is contained in:
@@ -393,7 +393,7 @@ _(IPv4 custom network on interface)_ <?=$network?> (_(optional)_):
|
||||
<input type="checkbox" id="DOCKER_CUSTOM_<?=$port?>_dhcp" onchange="customDHCP(this.id,4)"<?=$subnet?'checked':''?><?=$dhcpDisabled?>>
|
||||
**_(DHCP pool)_:** <input type="text" id="DOCKER_CUSTOM_<?=$port?>_pool" name="DOCKER_RANGE_<?=$port?>" class="ip4" value="<?=$range?>" title="_(IPv4 address A.B.C.D)_"<?=$disabled?>>/
|
||||
<select id="DOCKER_CUSTOM_<?=$port?>_size" name="DOCKER_SIZE_<?=$port?>" class="mask" onchange="changeHosts(this.id,this.value)"<?=$disabled?>>
|
||||
<?for ($m=24; $m<=30; $m++) echo mk_option($size?:25,$m,$m)?></select>
|
||||
<?for ($m=25; $m<=30; $m++) echo mk_option($size?:25,$m,$m)?></select>
|
||||
<span id="DOCKER_CUSTOM_<?=$port?>_hosts" style="<?=$subnet?'':'display:none'?>">(<?=pow(2,32-($size?:25))?> _(hosts)_)</span></span>
|
||||
|
||||
<?endif;?>
|
||||
|
||||
Reference in New Issue
Block a user