summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-07 13:20:36 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-07 13:20:36 -0700
commit2acba299599b9f39a17164018227f12978e030aa (patch)
treeb9d464a1a3b405f3d584d85efaa47adf94b81451 /lib/Vyatta
parent058c232c602003198ff8f01439c349985ddf0fe5 (diff)
downloadvyatta-conntrack-2acba299599b9f39a17164018227f12978e030aa.tar.gz
vyatta-conntrack-2acba299599b9f39a17164018227f12978e030aa.zip
Fixed protocols allowed script, use same as NAT, fixed protocol parsing
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Conntrack/RuleIgnore.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/Conntrack/RuleIgnore.pm b/lib/Vyatta/Conntrack/RuleIgnore.pm
index fcb1c6b..9b9abe1 100644
--- a/lib/Vyatta/Conntrack/RuleIgnore.pm
+++ b/lib/Vyatta/Conntrack/RuleIgnore.pm
@@ -67,6 +67,7 @@ sub setup_base {
$self->{_comment} = $level;
$self->{_rule_number} = $config->returnParent("..");
$self->{_interface} = $config->$val_func("inbound-interface");
+ $self->{_protocol} = $config->$val_func("protocol");
$src->$addr_setup("$level source");
$src->{_protocol} = $self->{_protocol};#needed to use address filter