Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2021 14:43:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254192] ipfw(8): incorrect nat show log command example
Message-ID:  <bug-254192-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254192

            Bug ID: 254192
           Summary: ipfw(8): incorrect nat show log command example
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: novel@FreeBSD.org
                CC: doc@FreeBSD.org

Created attachment 223154
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223154&action=
=3Dedit
proposed fix

The ipfw(8) manpage has the following text:

     To show logs of all the instances in range 111-999:

           ipfw nat 111-999 show

However, this command is not valid for two reasons:

1. Specifying nat ranges is not supported (apparently was removed by this
commit:https://github.com/freebsd/freebsd-src/commit/d6164b77f8b779cd735738=
7dcfcd3407f1457579)
2. The 'show' command requires an argument: config or log.

So update this example to show logs for all nat instances using this comman=
d:

 ipfw nat show log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254192-227>