diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-08 16:46:42 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-08 16:46:42 -0800 |
commit | 5ee67d46c47e241cf909509632e0f7ccca42adea (patch) | |
tree | 34baf6dd2a244007788a597e85f3f8d93d282e0b | |
parent | 5fefd9826bd75dee9f7bd253b69cf5c0259bc269 (diff) | |
download | vyatta-cfg-firewall-5ee67d46c47e241cf909509632e0f7ccca42adea.tar.gz vyatta-cfg-firewall-5ee67d46c47e241cf909509632e0f7ccca42adea.zip |
merge ports in show output
-rw-r--r-- | scripts/firewall/VyattaIpTablesAddressFilter.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/firewall/VyattaIpTablesAddressFilter.pm b/scripts/firewall/VyattaIpTablesAddressFilter.pm index e3f5d22..f07a0ef 100644 --- a/scripts/firewall/VyattaIpTablesAddressFilter.pm +++ b/scripts/firewall/VyattaIpTablesAddressFilter.pm @@ -154,11 +154,6 @@ sub outputXml { outputXmlElem("${prefix}_net", $self->{_network}, $fh); outputXmlElem("${prefix}_addr_start", $self->{_range_start}, $fh); outputXmlElem("${prefix}_addr_stop", $self->{_range_stop}, $fh); - outputXmlElem("${prefix}_port_num", - (join ',', @{$self->{_portnumber}}), $fh); - outputXmlElem("${prefix}_port_name", - (join ',', @{$self->{_portname}}), $fh); - outputXmlElem("${prefix}_port_start", $self->{_portrange_start}, $fh); - outputXmlElem("${prefix}_port_stop", $self->{_portrange_stop}, $fh); + outputXmlElem("${prefix}_port", $self->{_port}, $fh); } |