Bug 204829 - ipfw reset log deprechated
Summary: ipfw reset log deprechated
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-26 18:09 UTC by c.brinkhaus
Modified: 2016-02-26 16:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description c.brinkhaus 2015-11-26 18:09:22 UTC
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html
section 29.4.2. IPFW Rule Syntax
paragraph LOG_AMOUNT
says that the command to reset the ipfw log is "ipfw reset log"

The response is as below.
> ipfw: DEPRECATED: 'reset' matched 'resetlog' as a sub-string
> ipfw: invalid rule number ``log''

"ipfw resetlog" works with the response
> Logging counts reset.

Of course this is just a super-minor item.
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2016-02-26 16:53:43 UTC
Thanks for the report!
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-02-26 16:54:29 UTC
A commit references this bug:

Author: jgh
Date: Fri Feb 26 16:53:26 UTC 2016
New revision: 48265
URL: https://svnweb.freebsd.org/changeset/doc/48265

Log:
  - remove deprecated call and update supported method

  PR:		204829
  Submitted by:	c.brinkhaus@t-online.de
  Differential Revision:	https://reviews.freebsd.org/D5434

Changes:
  head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml