summaryrefslogtreecommitdiff
path: root/scripts/vyatta-conntrack-timeouts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-conntrack-timeouts.pl')
-rw-r--r--scripts/vyatta-conntrack-timeouts.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vyatta-conntrack-timeouts.pl b/scripts/vyatta-conntrack-timeouts.pl
index 20bdc52..bf7165e 100644
--- a/scripts/vyatta-conntrack-timeouts.pl
+++ b/scripts/vyatta-conntrack-timeouts.pl
@@ -38,8 +38,9 @@ sub update_config {
my $node = new Vyatta::Conntrack::RuleCT;
$node->setup("system conntrack timeout custom rule $rule");
$node->print();
-# $node->rule();
- $node->get_policy_command(); #nfct-tiemout command string
+ $node->rule();
+ $node->get_policy_command(); #nfct-timeout command string
+
} elsif ("$rules{$rule}" eq 'changed') {
print $rules{$rule};
my $node = new Vyatta::Conntrack::RuleCT;