Bug 204829

Summary: ipfw reset log deprechated
Product: Documentation Reporter: c.brinkhaus
Component: Books & ArticlesAssignee: Jason Helfman <jgh>
Status: Closed FIXED    
Severity: Affects Some People CC: jgh
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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