From d3296d0d9376a67983871736e74409fabfc20634 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Thu, 23 Feb 2012 12:01:05 -0800 Subject: Error checks for ports with other/icmp, as not allowed (cherry picked from commit 8059ed8d3cfa033dc6b48e79dd66cdcd1ecc5ae9) --- scripts/vyatta-conntrack-timeouts.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') 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; -- cgit v1.2.3