summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGaurav <gaurav.sinha@vyatta.com>2012-02-22 11:52:37 -0800
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-03-16 16:41:57 -0700
commit5572257844e071451dffa5b76bf459b18c27c23a (patch)
treebafa2aa46d64171dab1d9d54f88879924f51814b /scripts
parente02c2bf7724c050e348dba14fa964375ba92a37b (diff)
downloadvyatta-conntrack-5572257844e071451dffa5b76bf459b18c27c23a.tar.gz
vyatta-conntrack-5572257844e071451dffa5b76bf459b18c27c23a.zip
changing structure of hashes kept for timeouts
(cherry picked from commit 3fd99241f39f7482e35c0d4e4a91342fd8d9d4ad)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-conntrack-timeouts.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyatta-conntrack-timeouts.pl b/scripts/vyatta-conntrack-timeouts.pl
index a079ed1..9b69f0a 100644
--- a/scripts/vyatta-conntrack-timeouts.pl
+++ b/scripts/vyatta-conntrack-timeouts.pl
@@ -34,14 +34,17 @@ sub update_config {
foreach my $rule (sort keys %rules) {
if ("$rules{$rule}" eq 'static') {
} elsif ("$rules{$rule}" eq 'added') {
+ print $rules{$rule};
my $node = new Vyatta::Conntrack::RuleCT;
$node->setup("system conntrack timeout custom rule $rule");
$node->print();
} elsif ("$rules{$rule}" eq 'changed') {
+ print $rules{$rule};
my $node = new Vyatta::Conntrack::RuleCT;
$node->setup("system conntrack timeout custom rule $rule");
$node->print();
} elsif ("$rules{$rule}" eq 'deleted') {
+ print $rules{$rule};
}
}
}