Commit cd089c52 authored by Dave Taht's avatar Dave Taht Committed by Kevin Darbyshire-Bryant

proto: Support class-e addressing in netifd

Signed-off-by: default avatarDave Taht <dave.taht@gmail.com>
Acked-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 1ac1c78b
......@@ -131,11 +131,7 @@ parse_addr(struct interface *iface, const char *str, bool v6, int mask,
if (!parse_ip_and_netmask(af, str, &addr->addr, &addr->mask))
goto error;
if (!v6) {
if (IN_EXPERIMENTAL(ntohl(addr->addr.in.s_addr)))
goto error;
} else if (IN6_IS_ADDR_MULTICAST(&addr->addr.in6))
if (!v6 && IN6_IS_ADDR_MULTICAST(&addr->addr.in6))
goto error;
if (broadcast)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment