Révision aeb44799
Ajouté par Renato Botelho il y a presque 10 ans
usr/local/www/interfaces.php | ||
---|---|---|
464 | 464 |
|
465 | 465 |
unset($input_errors); |
466 | 466 |
$pconfig = $_POST; |
467 |
|
|
468 |
if (isset($_POST['track6-interface'])) { |
|
469 |
$ipv6_delegation_length = calculate_ipv6_delegation_length($_POST['track6-interface']); |
|
470 |
$ipv6_num_prefix_ids = pow(2, $ipv6_delegation_length); |
|
471 |
} |
|
472 |
|
|
467 | 473 |
if (is_numeric("0x" . $_POST['track6-prefix-id--hex'])) |
468 | 474 |
$pconfig['track6-prefix-id'] = intval($_POST['track6-prefix-id--hex'], 16); |
469 | 475 |
else |
Formats disponibles : Unified diff
Fix #3790. Fix IPv6 Prefix ID check using interface user choose before save