$reqdfieldsn=array(gettext("Interface"),gettext("Protocol"),gettext("Source"),gettext("Source bit count"),gettext("Destination"),gettext("Destination bit count"));
$reqdfieldsn=array(gettext("Interface"),gettext("Protocol"),gettext("Source"),gettext("Source bit count"),gettext("Destination"),gettext("Destination bit count"));
<optiondata-other=truevalue="<?=$pconfig['source'];?>"<?=!is_alias($pconfig['source'])&&!in_array($pconfig['source'],array('(self)','any'))?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['destination'];?>"<?=!is_alias($pconfig['destination'])&&$pconfig['destination']!='any'?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['targetip'];?>"<?=!empty($pconfig['target'])&&!array_key_exists($pconfig['targetip'],formTranslateAddresses())?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<?=gettext("Only Round Robin types work with Host Aliases. Any type can be used with a Subnet.");?><br/>
</option>
* <?=gettext("Round Robin: Loops through the translation addresses.");?><br/>
<?php
* <?=gettext("Random: Selects an address from the translation address pool at random.");?><br/>
endif;
* <?=gettext("Source Hash: Uses a hash of the source address to determine the translation address, ensuring that the redirection address is always the same for a given source.");?><br/>
endforeach;
* <?=gettext("Bitmask: Applies the subnet mask and keeps the last portion identical; 10.0.1.50 -> x.x.x.50.");?><br/>
endif;
* <?=gettext("Sticky Address: The Sticky Address option can be used with the Random and Round Robin pool types to ensure that a particular source address is always mapped to the same translation address.");?><br/>
<?=gettext("Hint: This prevents the rule on Master from automatically syncing to other CARP members. This does NOT prevent the rule from being overwritten on Slave.");?>
* <?=gettext("Random: Selects an address from the translation address pool at random.");?><br/>
<?php
* <?=gettext("Source Hash: Uses a hash of the source address to determine the translation address, ensuring that the redirection address is always the same for a given source.");?><br/>
if(isset($id)&&$a_out[$id]):
* <?=gettext("Bitmask: Applies the subnet mask and keeps the last portion identical; 10.0.1.50 -> x.x.x.50.");?><br/>
?>
* <?=gettext("Sticky Address: The Sticky Address option can be used with the Random and Round Robin pool types to ensure that a particular source address is always mapped to the same translation address.");?><br/>
<?=gettext("Hint: This prevents the rule on Master from automatically syncing to other CARP members. This does NOT prevent the rule from being overwritten on Slave.");?>