Project

General

Profile

Actions

Bug #1892

closed

Cannot static add static IPv6 route.

Added by Alexis Olivier over 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Routing
Target version:
Start date:
09/21/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1-IPv6
Affected Architecture:

Description

Commit bb5a2d0e727dee7d200d0f84dc76ef0c790e0c00 adds a bug in static route adding.

The dropdown box don't list subnets over 31.

The added code should be changed from :

 if(is_ipaddrv6($pconfig['network'])) {
        $size = 128;
      } else {
        $size = 32;
      }

to :
 if(is_ipaddrv4($pconfig['network'])) {
        $size = 32;
      } else {
        $size = 128;
      }

Actions

Also available in: Atom PDF