resolver_is_valid

Function resolver_is_valid 

Source
pub fn resolver_is_valid(item: &[u8]) -> bool
Expand description

Whether one PROP_IP_DNS item is acceptable.

Four or sixteen octets, a unicast host either way. An IPv6 resolver may be link-local, as one advertised by a home router commonly is, and an IPv4 one may not.