
15 Jan
2017
15 Jan
'17
7:30 p.m.
On Wed, Jan 04, 2017 at 01:36:25PM +1300, Chris Packham wrote:
Previously values greater than 255 were implicitly truncated. Add some stricter checking to reject addresses with components >255.
With the input "1234192.168.1.1" the old behaviour would truncate the address to 192.168.1.1. New behaviour rejects the string outright and returns 0.0.0.0, which for the purposes of IP addresses can be considered an error.
Signed-off-by: Chris Packham judge.packham@gmail.com
Applied to u-boot/master, thanks!
--
Tom