This commit is contained in:
Ad Schellevis 2016-08-22 18:36:40 +02:00
parent dee4efb3ad
commit c5d5e6358a

View File

@ -152,12 +152,26 @@
<MinimumValue>1</MinimumValue>
<ValidationMessage>Specify the overall bandwidth for downloads in kilobits per second.</ValidationMessage>
<Required>N</Required>
<Constraints>
<check001>
<ValidationMessage>Both trotteling parameters should either be filled or empty</ValidationMessage>
<type>OPNsense\Base\Constraints\AllOrNoneConstraint</type>
<addFields>
<field1>perHostTrotteling</field1>
</addFields>
</check001>
</Constraints>
</OverallBandwidthTrotteling>
<perHostTrotteling type="IntegerField">
<default>256</default>
<MinimumValue>1</MinimumValue>
<ValidationMessage>Specify the per host bandwidth for downloads in kilobits per second.</ValidationMessage>
<Required>N</Required>
<Constraints>
<check001>
<reference>OverallBandwidthTrotteling.check001</reference>
</check001>
</Constraints>
</perHostTrotteling>
</traffic>
</general>