Skip Menu |

This queue is for tickets about the IPTables-ChainMgr CPAN distribution.

Report information
The Basics
Id: 42674
Status: resolved
Priority: 0/
Queue: IPTables-ChainMgr

People
Owner: Nobody in particular
Requestors: darien [...] kindlund.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: mbr [...] cipherdyne.org
Subject: Re: IPTables::ChainMgr - delete_chain documentation is incorrect
Date: Thu, 22 Jan 2009 10:32:42 -0500
To: bug-IPTables-ChainMgr [...] rt.cpan.org
From: Darien Kindlund <darien [...] kindlund.com>
Hi Mike, From the 0.8 documentation: delete_chain($table, $chain) This function deletes a chain from the specified table: ($rv, $out_ar, $errs_ar) = $ipt_obj->delete_chain('filter', 'CUSTOM'); However, in the code, I see: sub delete_chain() { my $self = shift; my $table = shift || croak '[*] Must specify a table, e.g. "filter".'; my $jump_from_chain = shift || croak '[*] Must specify a chain from which ', 'packets were jumped to this chain'; my $del_chain = shift || croak '[*] Must specify a chain to delete.'; So, in reality, the delete_chain documentation should be: delete_chain($table, $jump_from_chain, $chain) If you can update your documentation and corresponding examples of how to properly use delete_chain(), I'd appreciate it. Thanks, -- Darien
This has been resolved - thanks! Latest release is IPTables::ChainMgr 1.0.