CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/11/20 03:28:08
Modified files:
sys/net : rtable.c
Log message:
Make rtable_satoplen() a bit more strict when parsing netmasks. Ensure
that the mask is contiguous and not longer then the prefixlen is not
bigger then the maximum. Make the function behave a bit more like the
similar netmask handling code in the old patricia codebase.
Fixes a problem reyk@ reported regarding IPv6 masks and the fact that
sin6_scope_id is after sin6_addr.
OK mpi@