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

This commit is contained in:
Ad Schellevis 2017-05-06 10:02:34 +02:00
parent b16ea82258
commit 2fa53c9e85

View File

@ -574,7 +574,7 @@ include("head.inc");
<?=gettext("reliability");?>
</option>
<?php
for ($i = 0; $i < 256; $i++):
for ($i = 1; $i < 256; $i++):
$tos_val = "0x".dechex($i) ?>
<option value="<?=$tos_val;?>" <?= $tos_val == $pconfig['set-tos'] ? "selected=\"selected\"" : ""; ?>>
<?=$tos_val;?>