diff options
author | Daniel Becker <razzfazz@gmail.com> | 2015-02-08 18:32:24 -0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-23 14:38:30 -0300 |
commit | 76feb4073561c38ccb6d67b285ed8f1a708fed95 (patch) | |
tree | 74ede15fb2bb87968d2c1abddca5617300780a96 /usr/local | |
parent | a0e4410f08e364637fceb5f42062eeed78ed5ef6 (diff) | |
download | pfsense-76feb4073561c38ccb6d67b285ed8f1a708fed95.zip pfsense-76feb4073561c38ccb6d67b285ed8f1a708fed95.tar.gz |
make computation of start of DHCPv6 range consistent with actual check
When computing the start IP for the 'available range' field,
services_dhcpv6.php attempts to increment a colon-formatted v6 address.
Since this always fails, so the value that's printed is not actually
incremented, so remove the bogus addition.
Note that this is actually matches the behavior of the range checks that
services_dhcpv6.php performs: The actual check uses the range
[gen_subnetv6()..gen_subnetv6_max()], which does include the first
(= all-zeroes host part) v6 address in the prefix.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/services_dhcpv6.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index aeb21e0..393f211 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -568,7 +568,6 @@ display_top_tabs($tab_array); <td width="78%" class="vtable"> <?php $range_from = gen_subnetv6($ifcfgip, $ifcfgsn); - $range_from++; echo $range_from; ?> |