summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGaurav <gaurav.sinha@vyatta.com>2012-02-22 14:38:42 -0800
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-03-16 16:42:08 -0700
commitdf2d9327d38a65ed281b74934e4b6a20d568079b (patch)
tree7cb2be791ed9465636430cf73c058cf6672497cd /scripts
parent5572257844e071451dffa5b76bf459b18c27c23a (diff)
downloadvyatta-conntrack-df2d9327d38a65ed281b74934e4b6a20d568079b.tar.gz
vyatta-conntrack-df2d9327d38a65ed281b74934e4b6a20d568079b.zip
Add function to create nfct-timeout policy
(cherry picked from commit d15993bc83942d5841886c0f290430530b009174)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-conntrack-timeouts.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-conntrack-timeouts.pl b/scripts/vyatta-conntrack-timeouts.pl
index 9b69f0a..20bdc52 100644
--- a/scripts/vyatta-conntrack-timeouts.pl
+++ b/scripts/vyatta-conntrack-timeouts.pl
@@ -38,6 +38,8 @@ 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
} elsif ("$rules{$rule}" eq 'changed') {
print $rules{$rule};
my $node = new Vyatta::Conntrack::RuleCT;