Project

General

Profile

Actions

Bug #4435

closed

Invalid increment in DHCP6 server address range check

Added by Daniel Becker about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP (IPv6)
Target version:
Start date:
02/16/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All

Description

When computing the start IP for the 'available range' field, services_dhcpv6.php attempts to increment a colon-formatted v6 address:

$range_from = gen_subnetv6($ifcfgip, $ifcfgsn);
$range_from++;

Since increment on a non-numeric value fails, range_from retains the un-incremented value.

Actions

Also available in: Atom PDF