Use inet_parse:{ipv4,ipv6}strict_address/1
Use inet_parse:{ipv4,ipv6}strict_address/1

The inet_parse:address/1 calls inet_parse:ipv4_address/1 function which
accepts (stringified) integers. For instance, "1" is parsed as {0,0,0,1}
and "256" is parsed as {0,0,1,0}.

Now, yaml_node_ipaddr calls inet_parse:ipv4strict_address/1 then
inet_parse:ipv6strict_address/1 directly. Integers are not accepted as
IP address anymore.

enikki/yamerl,enikki/yamerl