diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-01-21 15:31:08 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-01-21 15:31:08 -0800 |
commit | 2d8f7f3286dd7697aafc664b07be7b93cfb6939e (patch) | |
tree | 2a4f6ff482584d86918b14de9d5a2d32ef6c9e4c /src/xsl/show_firewall.xsl | |
parent | d7d95e4f2dbc83fb7970cf8c6b0e6e492b570476 (diff) | |
download | vyatta-op-firewall-2d8f7f3286dd7697aafc664b07be7b93cfb6939e.tar.gz vyatta-op-firewall-2d8f7f3286dd7697aafc664b07be7b93cfb6939e.zip |
Fix 4054: "show firewall" doesn't match configurationZ
Diffstat (limited to 'src/xsl/show_firewall.xsl')
-rw-r--r-- | src/xsl/show_firewall.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsl/show_firewall.xsl b/src/xsl/show_firewall.xsl index 158d970..58ed045 100644 --- a/src/xsl/show_firewall.xsl +++ b/src/xsl/show_firewall.xsl @@ -68,7 +68,7 @@ <xsl:value-of select="substring($pad20,1,$pad20_len - string-length(src_addr))"/> </xsl:when> - <xsl:when test="src_net!='' and src_addr!='0.0.0.0/0'"> + <xsl:when test="src_net!='' and src_net!='0.0.0.0/0'"> <xsl:value-of select="src_net"/> <xsl:value-of select="substring($pad20,1,$pad20_len - string-length(src_net))"/> </xsl:when> @@ -89,7 +89,7 @@ <xsl:value-of select="substring($pad20,1,$pad20_len - string-length(dst_addr))"/> </xsl:when> - <xsl:when test="dst_net!='' and dst_addr!='0.0.0.0/0'"> + <xsl:when test="dst_net!='' and dst_net!='0.0.0.0/0'"> <xsl:value-of select="dst_net"/> <xsl:value-of select="substring($pad20,1,$pad20_len - string-length(dst_net))"/> </xsl:when> |