summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw.8
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-02-18 19:56:09 +0000
committerjulian <julian@FreeBSD.org>2008-02-18 19:56:09 +0000
commitbe6b4b9b616cc7d00e7671e3563ab0907db86fec (patch)
tree351c8bb825cd72f4bc8333d014b9acf6be1a2823 /sbin/ipfw/ipfw.8
parent0a944b08e472ad60fa74b8129248277a2d9b4b4f (diff)
downloadFreeBSD-src-be6b4b9b616cc7d00e7671e3563ab0907db86fec.zip
FreeBSD-src-be6b4b9b616cc7d00e7671e3563ab0907db86fec.tar.gz
Instead of using a heuristic to decide whether to display
table 'values' as IP addresses, use an explicit argument (-i). This is a 'POLA' issue. This is a low risk change and should be MFC'd to RELENG_6 and RELENG 7. it might be put as an errata item for 6.3. (not sure about 6.2). Fix suggested by: Eugene Grosbein PR: 120720 MFC After: 3 days
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r--sbin/ipfw/ipfw.85
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 67ed262..0ea3b7a 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -218,6 +218,11 @@ Do not ask for confirmation for commands that can cause problems
if misused,
.No i.e. Cm flush .
If there is no tty associated with the process, this is implied.
+.It Fl i
+While listing a table (see the
+.Sx LOOKUP TABLES
+section below for more information on lookup tables), format values
+as IP addresses. By default, values are shown as integers.
.It Fl n
Only check syntax of the command strings, without actually passing
them to the kernel.
OpenPOWER on IntegriCloud