summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-04-08 20:41:41 +0200
committersmos <seth.mos@dds.nl>2012-04-08 20:41:41 +0200
commit4e83a8f2fd9a6aa784276bb3b02d4ad75416441c (patch)
tree6191b44583a31918f71cea690eae00ea9c7aed44 /usr/local/www/interfaces.php
parent319c2bfda8aaae49a5b659c2901e6a49c762582b (diff)
downloadpfsense-4e83a8f2fd9a6aa784276bb3b02d4ad75416441c.zip
pfsense-4e83a8f2fd9a6aa784276bb3b02d4ad75416441c.tar.gz
Remove this piece of code, it loads even on interfaces not configured for track. Really needs asynchronous javascript.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index fc3b1cc..4027738 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1835,13 +1835,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<td width="78%" class="vtable">
<select name="track6-prefix-id" class="formselect" id="track6-prefix-id">
<?php
- if((count($dynv6ifs) == 1) && (!isset($pconfig['track6-interface']))) {
- foreach($dynv6ifs as $trackif => $trackdescr)
- break;
- $pdlen = calculate_ipv6_delegation_length($trackif);
- } else {
- $pdlen = calculate_ipv6_delegation_length($pconfig['track6-interface']);
- }
+ $pdlen = calculate_ipv6_delegation_length($pconfig['track6-interface']);
$numbers = pow(2, $pdlen);
if($pconfig['track6-prefix-id'] == "none")
OpenPOWER on IntegriCloud