Project

General

Profile

« Previous | Next » 

Revision 4e83a8f2

Added by Seth Mos about 13 years ago

Remove this piece of code, it loads even on interfaces not configured for track. Really needs asynchronous javascript.

View differences:

usr/local/www/interfaces.php
1835 1835
										<td width="78%" class="vtable">
1836 1836
											<select name="track6-prefix-id" class="formselect" id="track6-prefix-id">
1837 1837
												<?php
1838
												if((count($dynv6ifs) == 1) && (!isset($pconfig['track6-interface']))) {
1839
													foreach($dynv6ifs as $trackif => $trackdescr)
1840
														break;
1841
													$pdlen = calculate_ipv6_delegation_length($trackif);
1842
												} else {
1843
													$pdlen = calculate_ipv6_delegation_length($pconfig['track6-interface']);
1844
												}
1838
												$pdlen = calculate_ipv6_delegation_length($pconfig['track6-interface']);
1845 1839

  
1846 1840
												$numbers = pow(2, $pdlen);
1847 1841
												if($pconfig['track6-prefix-id'] == "none")

Also available in: Unified diff