diff options
-rw-r--r-- | src/ipcalc.1 | 27 | ||||
-rw-r--r-- | src/ipcalc.c | 3 |
2 files changed, 23 insertions, 7 deletions
diff --git a/src/ipcalc.1 b/src/ipcalc.1 index fd9b2121..30e0b20d 100644 --- a/src/ipcalc.1 +++ b/src/ipcalc.1 @@ -1,4 +1,4 @@ -.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." RH \" -*- nroff -*- +.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." \" -*- nroff -*- .SH NAME ipcalc \- perform simple manipulation of IP addresses .SH SYNOPSIS @@ -15,11 +15,24 @@ netmask or a CIDR prefix as well. .SH OPTIONS .TP .TP -\fB\-b\fR, \fB\-\-broadcast\fR +\fB\-c\fR, \fB\-\-check\fR +Validate the IP address under the specified family. If no address +family is specified, IPv4 is assumed. + +.TP +\fB\-4\fR, \fB\-\-ipv4\fR +Specify IPv4 address family (default). + +.TP +\fB\-6\fR, \fB\-\-ipv6\fR +Specify IPv6 address family. + +.TP +\fB\-b\fR, \fB\-\-broadcast\fR Display the broadcast address for the given IP address and netmask. .TP -\fB\-h\fR, \fB\-\-hostname\fR +\fB\-h\fR, \fB\-\-hostname\fR Display the hostname for the given IP address. .TP @@ -46,12 +59,14 @@ Don't ever display error messages. Erik Troan <ewt@redhat.com> .nf Preston Brown <pbrown@redhat.com> + +.TP +IPv6 supported wedged in by David Cantrell <dcantrell@redhat.com> .fi .SH "REPORTING BUGS" -Report bugs to our bugtracking system: -http://bugzilla.redhat.com/bugzilla. +Report bugs at http://bugzilla.redhat.com/ .SH COPYRIGHT -Copyright \(co 1997-2001 Red Hat, Inc. +Copyright \(co 1997-2008 Red Hat, Inc. .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR diff --git a/src/ipcalc.c b/src/ipcalc.c index ede86145..e3a6a7f5 100644 --- a/src/ipcalc.c +++ b/src/ipcalc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-2003 Red Hat, Inc. All rights reserved. + * Copyright (c) 1997-2008 Red Hat, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, @@ -17,6 +17,7 @@ * Authors: * Erik Troan <ewt@redhat.com> * Preston Brown <pbrown@redhat.com> + * David Cantrell <dcantrell@redhat.com> */ |