From 5ee67d46c47e241cf909509632e0f7ccca42adea Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 8 Feb 2008 16:46:42 -0800 Subject: merge ports in show output --- scripts/firewall/VyattaIpTablesAddressFilter.pm | 7 +------ 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3