
4 Jan
2017
4 Jan
'17
11:04 a.m.
Dear Chris,
In message 20170104003626.4211-1-judge.packham@gmail.com you wrote:
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.
Does code that calls string_to_ip() check for such an error condition?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Listen to the local yokel yodel.