Commit bd3f5f36 authored by Jos Schellevis's avatar Jos Schellevis

Set DNS Resolver Advanced defaults, fixes #62

parent f7d4063e
...@@ -224,7 +224,7 @@ include_once("head.inc"); ...@@ -224,7 +224,7 @@ include_once("head.inc");
<?php <?php
for ($num_tcp = 0; $num_tcp <= 50; $num_tcp += 10): for ($num_tcp = 0; $num_tcp <= 50; $num_tcp += 10):
?> ?>
<option value="<?php echo $num_tcp; ?>" <?php if ($pconfig['outgoing_num_tcp'] == "{$num_tcp}") echo "selected=\"selected\""; ?>> <option value="<?php echo $num_tcp; ?>" <?php if( isset($pconfig['outgoing_num_tcp'])==false && $num_tcp==10 ) echo "selected=\"selected\""; ?> <?php if ($pconfig['outgoing_num_tcp'] == "{$num_tcp}") echo "selected=\"selected\""; ?>>
<?php echo $num_tcp; ?> <?php echo $num_tcp; ?>
</option> </option>
<?php <?php
...@@ -243,7 +243,7 @@ include_once("head.inc"); ...@@ -243,7 +243,7 @@ include_once("head.inc");
<?php <?php
for ($num_tcp = 0; $num_tcp <= 50; $num_tcp += 10): for ($num_tcp = 0; $num_tcp <= 50; $num_tcp += 10):
?> ?>
<option value="<?php echo $num_tcp; ?>" <?php if ($pconfig['incoming_num_tcp'] == "{$num_tcp}") echo "selected=\"selected\""; ?>> <option value="<?php echo $num_tcp; ?>" <?php if( isset($pconfig['incoming_num_tcp'])==false && $num_tcp==10 ) echo "selected=\"selected\""; ?> <?php if ($pconfig['incoming_num_tcp'] == "{$num_tcp}") echo "selected=\"selected\""; ?>>
<?php echo $num_tcp; ?> <?php echo $num_tcp; ?>
</option> </option>
<?php <?php
......
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