Project

General

Profile

Actions

Bug #2470

closed

unable to create single address /128 ipv6 route

Added by Hannu Teulahti almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Routing
Target version:
Start date:
06/04/2012
Due date:
% Done:

0%

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

Description

the system_routes_edit.php does not allow /128 for a ipv6 route. the largest mask selectable is 127 bits.

running the latest 2.1 version as of today 2012-06-04.

The below seems to fix the problem. There might be better alternatives:

--- system_routes_edit.php.orig 2012-06-04 11:11:01.000000000 0300
++ system_routes_edit.php 2012-06-04 11:18:11.000000000 0300
@ -219,7 +219,7 @
/
<select name="network_subnet" class="formselect ipv4v6" id="network_subnet"
- for ($i = 128; $i >= 1; $i--): ?>
for ($i = 129; $i >= 1; $i--): ?>
<option value="" >

</option>

Actions

Also available in: Atom PDF