From: Thalia Date: Wed, 8 May 2019 17:49:18 +0000 (-0500) Subject: Fix Block::newLoad for IPv6 range blocks - follow-up to Ie8bebd8 X-Git-Tag: 1.34.0-rc.0~1758^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=5f8e8bc70891bd08fceac3e25565a0f78e4129c7;hp=5f8e8bc70891bd08fceac3e25565a0f78e4129c7;p=lhc%2Fweb%2Fwiklou.git Fix Block::newLoad for IPv6 range blocks - follow-up to Ie8bebd8 Previously, the size of the range is calculated by finding the difference between that start and end addresses, converted into decimal. This fails when the numbers are too large. Instead, use parsing methods from IP class to avoid having to handle large numbers. Bug: T222246 Change-Id: If466139c42c4ac832a9506c80bdb228e9da39638 ---