Commit 2fa53c9e authored by Ad Schellevis's avatar Ad Schellevis

firewall scrupt, 0x0 is not a valid value, https://github.com/opnsense/core/issues/1623

parent b16ea822
...@@ -574,7 +574,7 @@ include("head.inc"); ...@@ -574,7 +574,7 @@ include("head.inc");
<?=gettext("reliability");?> <?=gettext("reliability");?>
</option> </option>
<?php <?php
for ($i = 0; $i < 256; $i++): for ($i = 1; $i < 256; $i++):
$tos_val = "0x".dechex($i) ?> $tos_val = "0x".dechex($i) ?>
<option value="<?=$tos_val;?>" <?= $tos_val == $pconfig['set-tos'] ? "selected=\"selected\"" : ""; ?>> <option value="<?=$tos_val;?>" <?= $tos_val == $pconfig['set-tos'] ? "selected=\"selected\"" : ""; ?>>
<?=$tos_val;?> <?=$tos_val;?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment