commit | 0656248b658a176fcf7108fe5620d43b888ec332 | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Wed Jan 04 13:36:26 2017 +1300 |
committer | Tom Rini <trini@konsulko.com> | Sat Jan 14 16:47:11 2017 -0500 |
tree | 6b1e118bc77a3f1ce9cf950d0cc5a1ffd59374b4 | |
parent | e917c3625ade33c92a85b30c020c2128f7648299 [diff] |
lib: net_utils: enforce '.' as octet separator in string_to_ip Ensure '.' is used to separate octets. If another character is seen reject the string outright and return 0.0.0.0. Signed-off-by: Chris Packham <judge.packham@gmail.com>