sys/net/radix.c refuses addresses with all zeroes

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Wed Apr 20 12:43:59 UTC 2011


Hello,

The sys/net/radix.c refuses to add 0.0.0.0 address to the tree,
but allows to add 0.0.0.0/32 address (when mask is specified).

The question.  Is it not allowed to give address with all zeroes
to radix.c or is there some mistake in the radix.c code?

How to check:

Create file, say, zero-export:

/ 0.0.0.0
/ -network 0.0.0.0/32
/ ::
/ -network ::/128

and run "mountd -d zero-export".


More information about the freebsd-net mailing list