Bug 212668

Summary: ipfw table all ignores set parameter
Product: Base System Reporter: John Zielinski <avernar>
Component: binAssignee: Andrey V. Elsukov <ae>
Status: Closed FIXED    
Severity: Affects Only Me CC: ae
Priority: --- Keywords: patch
Version: 11.0-RC1   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to fix the problem none

Description John Zielinski 2016-09-13 19:40:28 UTC
Created attachment 174742 [details]
patch to fix the problem

When using ipfw to manipulate tables and specifying all for the table name it ignores the set parameter and operates on all tables in all sets.  All four commands (list, info, detail and flush) are affected.

I patched ipfw on my machine so I could keep working on my firewall.  I've included the patch.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-05-02 05:02:48 UTC
A commit references this bug:

Author: ae
Date: Tue May  2 05:02:12 UTC 2017
New revision: 317666
URL: https://svnweb.freebsd.org/changeset/base/317666

Log:
  Add sets support for ipfw table info/list/flush commands.

  PR:		212668
  MFC after:	1 week

Changes:
  head/sbin/ipfw/tables.c
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-05-10 05:05:46 UTC
A commit references this bug:

Author: ae
Date: Wed May 10 05:05:21 UTC 2017
New revision: 318134
URL: https://svnweb.freebsd.org/changeset/base/318134

Log:
  MFC r317666:
    Add sets support for ipfw table info/list/flush commands.

    PR:		212668

Changes:
_U  stable/11/
  stable/11/sbin/ipfw/tables.c