ipv6_gateway_is_valid

Function ipv6_gateway_is_valid 

Source
pub fn ipv6_gateway_is_valid(gateway: &[u8; 16]) -> bool
Expand description

Whether an IPv6 gateway is acceptable.

Relaxes the link-local exclusion, unlike the IPv4 form: a router names itself by its link-local address, and a static IPv6 gateway is usually exactly that.