diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-03-16 22:02:44 -0700 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-03-16 22:02:44 -0700 |
commit | ec409015bfa33a4e33b7437f3ce7093c2b58d21a (patch) | |
tree | afb3204a78c3c7693b4523cc153007c7d05f5df9 /scripts/vyatta-conntrack-timeouts.pl | |
parent | b4c313d953660b8a70ccfda0b260fd81a6089976 (diff) | |
download | vyatta-conntrack-ec409015bfa33a4e33b7437f3ce7093c2b58d21a.tar.gz vyatta-conntrack-ec409015bfa33a4e33b7437f3ce7093c2b58d21a.zip |
fixed generic timeout, udp stream->replied and other->unreplied, fixed bug with protocol string comparision
Diffstat (limited to 'scripts/vyatta-conntrack-timeouts.pl')
-rw-r--r-- | scripts/vyatta-conntrack-timeouts.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-conntrack-timeouts.pl b/scripts/vyatta-conntrack-timeouts.pl index 7d0295f..81e5fff 100644 --- a/scripts/vyatta-conntrack-timeouts.pl +++ b/scripts/vyatta-conntrack-timeouts.pl @@ -69,7 +69,7 @@ sub remove_timeout_policy { # First remove the iptables rules before removing policy. my $iptables_cmd1 = "iptables -D PREROUTING -t raw $rule_string -j CT --timeout $tokens[0]"; my $iptables_cmd2 = "iptables -D OUTPUT -t raw $rule_string -j CT --timeout $tokens[0]"; - my $nfct_timeout_cmd = "$nfct timeout remove $timeout_policy"; + my $nfct_timeout_cmd = "$nfct timeout delete $timeout_policy"; run_cmd($iptables_cmd2); if ($? >> 8) { # FIXME: as of now, dont print/handle/exit as these always fail in iptables. |