Skip Menu |

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

Report information
The Basics
Id: 115949
Status: resolved
Priority: 0/
Queue: IPTables-Rule

Owner: fukawi2 [...]
Requestors: rest [...]

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


Subject: Adding ip6tables instead of iptables binary as output option
Date: Thu, 7 Jul 2016 19:13:00 +0200
To: bug-IPTables-Rule [...]
From: XiconRest <rest [...]>
Download (untitled) / with headers
text/plain 593b
Dear Phillip, there is an function to set the IP version for the to-be-generated iptables rule, but it doesn't affect the generated output in that case, which could be to also alter the binary (-path). So I altered your code, so if somebody sets the IP version via "$ipt_rule->ipversion('6')", it will also sets the right default binary, which is "ip6tables" instead of "iptables". I also added a function in conjunction to the "$ipt_rule->iptbinary()" function, named $ipt_rule->ipt6binary()". I hope it fits your conception, if not, I'm happy do discuss :) Best regards xiconfjs

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to