[radvd-devel-l] PATCH: Test configuration then exit

Pekka Savola pekkas at netcore.fi
Thu Dec 9 01:47:32 EST 2010


Hi,

On Wed, 8 Dec 2010, Iain J. Watson wrote:
> This patch adds a flag '-c' to the radvd binary which will exit radvd
> once completing the startup tests. This is similar to the 'configtest'
> option in apache's apachectl command. This patch is built against the
> current code available via cvs.
>
> I coded this patch as I am working on a programmatic way of adding and
> removing subnets from a linux router. For health paranoia's sake I
> wanted to check the new configuration that is generated is valid for
> radvd to run against.

Looks OK on the brief glance though I wondered a bit if the configtest 
printout could be integrated in one place e.g. under flog(). Given the 
low number of modified entries this maybe isn't worth it.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings



More information about the radvd-devel-l mailing list