aboutsummaryrefslogtreecommitdiffstats
path: root/src/getkey.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-26 16:03:53 -1000
committerBill Nottingham <notting@redhat.com>2009-03-19 15:50:11 -0400
commitd91005f0d149124749ad6cc98bc42b4111900963 (patch)
treec77bfb5f547dcb6e96fe984b4c583504315e3caf /src/getkey.c
parentc304852ff24bab0c13bb327336d28cd17cb995b8 (diff)
downloadinitscripts-d91005f0d149124749ad6cc98bc42b4111900963.tar
initscripts-d91005f0d149124749ad6cc98bc42b4111900963.tar.gz
initscripts-d91005f0d149124749ad6cc98bc42b4111900963.tar.bz2
initscripts-d91005f0d149124749ad6cc98bc42b4111900963.tar.xz
initscripts-d91005f0d149124749ad6cc98bc42b4111900963.zip
Add a address check capability for IPv4 and IPv6 addresses.
Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix).
Diffstat (limited to 'src/getkey.c')
0 files changed, 0 insertions, 0 deletions