Alexander Bluhm <alexander.bl...@gmx.net> wrote: > On Mon, Nov 18, 2019 at 09:58:34AM -0700, Theo de Raadt wrote: > > how about the text "use prefixlen instead of netmask for inet6" > > Much better error message, I have changed my diff. > > But we still have to decide whether we want to fix or disable inet6 > netmask. Man page in FreeBSD says (Inet only.), NetBSD has (inet > and inet6). > > As our ifconfig(8) man page says we support it, and route(8) also > supports it, I prefer fixing inet6 netmask.
accepting a netmask also requires thinking about the behaviour in the discontig case (surely that means detecting and preventing it).