Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 14:42:25 +0300
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        freebsd-net@freebsd.org
Subject:   sys/net/radix.c refuses addresses with all zeroes
Message-ID:  <20110420114225.GA29917@pm513-1.comsys.ntu-kpi.kiev.ua>

next in thread | raw e-mail | index | archive | help
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".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110420114225.GA29917>