diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-26 16:03:53 -1000 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:05 +0200 |
commit | eca23923643c99cca861abbd924efbb996849ea4 (patch) | |
tree | 7ba23f516c9d288019a0eaee1b3c7b2c4620b196 /src/kmodule.c | |
parent | 7e7689a8c0300fd76fd97613d2c49d06444cfa72 (diff) | |
download | initscripts-eca23923643c99cca861abbd924efbb996849ea4.tar initscripts-eca23923643c99cca861abbd924efbb996849ea4.tar.gz initscripts-eca23923643c99cca861abbd924efbb996849ea4.tar.bz2 initscripts-eca23923643c99cca861abbd924efbb996849ea4.tar.xz initscripts-eca23923643c99cca861abbd924efbb996849ea4.zip |
Add a address check capability for IPv4 and IPv6 addresses. (#464268)
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/kmodule.c')
0 files changed, 0 insertions, 0 deletions