diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-08-07 13:20:36 -0700 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-08-07 13:20:36 -0700 |
commit | 2acba299599b9f39a17164018227f12978e030aa (patch) | |
tree | b9d464a1a3b405f3d584d85efaa47adf94b81451 /lib/Vyatta/Conntrack/RuleIgnore.pm | |
parent | 058c232c602003198ff8f01439c349985ddf0fe5 (diff) | |
download | vyatta-conntrack-2acba299599b9f39a17164018227f12978e030aa.tar.gz vyatta-conntrack-2acba299599b9f39a17164018227f12978e030aa.zip |
Fixed protocols allowed script, use same as NAT, fixed protocol parsing
Diffstat (limited to 'lib/Vyatta/Conntrack/RuleIgnore.pm')
-rw-r--r-- | lib/Vyatta/Conntrack/RuleIgnore.pm | 1 |
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 |