Files
coredns/middleware
Yong Tang f3066b9463 Add unit tests for ExtractAddressFromReverse (#328)
This fix adds unit tests for `ExtractAddressFromReverse`. It also
updates the implementation of `ExtractAddressFromReverse` so that
only a valid IPv4 or IPv6 address (in string format) is returned.

If the addresses is not valid and can not be handled by golang's
`net.ParseIP` then an empty string (`""`) will be returned.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-10-11 09:48:15 +01:00
..
2016-10-08 16:44:43 +01:00
2016-03-19 07:32:50 +00:00
2016-09-17 17:09:05 +01:00
2016-09-07 12:55:41 +00:00
2016-09-21 17:01:19 +01:00