mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
IPsec:phase2, ip type selector using the wrong class, presenting wrong options in remote subnet (/128 vs /32). minor cleanup
This commit is contained in:
parent
1da07949b5
commit
c3ccc63fd1
@ -632,9 +632,9 @@ if (isset($input_errors) && count($input_errors) > 0) {
|
||||
<tr class="opt_remoteid">
|
||||
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Address"); ?>: </td>
|
||||
<td>
|
||||
<input name="remoteid_address" type="text" class="formfld unknown ipv4v6" id="remoteid_address" size="28" value="<?=$pconfig['remoteid_address'];?>" />
|
||||
<input name="remoteid_address" type="text" class="formfld unknown" id="remoteid_address" size="28" value="<?=$pconfig['remoteid_address'];?>" />
|
||||
/
|
||||
<select name="remoteid_netbits" class="ipv4v6" id="remoteid_netbits">
|
||||
<select name="remoteid_netbits" data-network-id="remoteid_address" class="ipv4v6net" id="remoteid_netbits">
|
||||
<?php for ($i = 128; $i >= 0; $i--) :
|
||||
?>
|
||||
<option value="<?=$i;?>" <?= isset($pconfig['remoteid_netbits']) && $i == $pconfig['remoteid_netbits'] ? "selected=\"selected\"" : "";?> >
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user