]> average.org Git - pdns-pipe-nmc.git/commit
check the string for being an IPv4 address
authorEugene Crosser <crosser@average.org>
Fri, 4 Apr 2014 14:15:55 +0000 (18:15 +0400)
committerEugene Crosser <crosser@average.org>
Fri, 4 Apr 2014 14:15:55 +0000 (18:15 +0400)
commit3296cbcefa4b9d7a3b80ef8aef5fc59a830dd97f
tree74ea726d03900f55f924434a593b519bf9ab8c5a
parent5f1986b7cb4f20796429433b03205f750a611271
check the string for being an IPv4 address

When we encounter a string where a json object representing a
domain is expected, check if this string looks like an IPv4
address, and return a domain object with this address.
NmcJson.hs