Skip to content

Commit

Permalink
IPsec:phase2, ip type selector using the wrong class, presenting wron…
Browse files Browse the repository at this point in the history
…g options in remote subnet (/128 vs /32). minor cleanup
  • Loading branch information
AdSchellevis committed Jul 13, 2019
1 parent 1da0794 commit c3ccc63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/www/vpn_ipsec_phase2.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,9 @@ function getIndexByUniqueId($uniqid)
<tr class="opt_remoteid">
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Address"); ?>:&nbsp;&nbsp;</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\"" : "";?> >
Expand Down

0 comments on commit c3ccc63

Please sign in to comment.