Make the prefix-to-netmask conversion work on big-endian too.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 20 Nov 2006 00:23:13 +0000 (00:23 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 20 Nov 2006 00:23:13 +0000 (00:23 +0000)
commitbd41fcf11dc8849d4b7ba2af39f808a4a6c0a62e
tree26759f5f21b9e3b72be0d92932d40ea819a40763
parente97918417e2f91e76024bee546366f2f0d43c281
Make the prefix-to-netmask conversion work on big-endian too.
Check for invalid prefixes.
Improve help message.
Add --set operation that removes all the old IP addresses first.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2385 94cd875c-1c1d-0410-91d2-eb244daf1a30
src/Makefile-files
src/naddress.c