diff options
author | Gaurav <gaurav.sinha@vyatta.com> | 2012-02-21 13:46:20 -0800 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-03-16 16:41:32 -0700 |
commit | 0f242d1a1fa363b19229b886622ef9ca3a4f50b5 (patch) | |
tree | 5ffce683b613f69debd9067fa4900a93e353c242 /lib/Vyatta/Conntrack/RuleCT.pm | |
parent | 15bb1ba78ade472e8dea5d1f4dd8f8a15af78a3c (diff) | |
download | vyatta-conntrack-0f242d1a1fa363b19229b886622ef9ca3a4f50b5.tar.gz vyatta-conntrack-0f242d1a1fa363b19229b886622ef9ca3a4f50b5.zip |
modified to use AddressFilter from IpTables
(cherry picked from commit 1392750b600cec991e24e7ab0cc211c621e4430a)
Diffstat (limited to 'lib/Vyatta/Conntrack/RuleCT.pm')
-rw-r--r-- | lib/Vyatta/Conntrack/RuleCT.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Vyatta/Conntrack/RuleCT.pm b/lib/Vyatta/Conntrack/RuleCT.pm index 3a0377b..e407f42 100644 --- a/lib/Vyatta/Conntrack/RuleCT.pm +++ b/lib/Vyatta/Conntrack/RuleCT.pm @@ -2,10 +2,10 @@ package Vyatta::Conntrack::RuleCT; use strict; use Vyatta::Config; -require Vyatta::Conntrack::AddressFilterCT; +require Vyatta::IpTables::AddressFilter; -my $src = new Vyatta::Conntrack::AddressFilterCT; -my $dst = new Vyatta::Conntrack::AddressFilterCT; +my $src = new Vyatta::IpTables::AddressFilter; +my $dst = new Vyatta::IpTables::AddressFilter; my %fields = ( _rule_number => undef, @@ -52,8 +52,8 @@ sub setupDummy { my ($self, $level) = @_; %{$self} = %dummy_rule; - $src = new Vyatta::Conntrack::AddressFilterCT; - $dst = new Vyatta::Conntrack::AddressFilterCT; + $src = new Vyatta::IpTables::AddressFilter; + $dst = new Vyatta::IpTables::AddressFilter; # set the default policy my $config = new Vyatta::Config; |