summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarat Nepomnyashy <marat@vyatta.com>2008-01-21 11:54:28 -0800
committerMarat Nepomnyashy <marat@vyatta.com>2008-01-21 11:54:28 -0800
commit7b759d6645a9c7583e9091f034c5bc2bbbadb369 (patch)
tree004ff4c099e7e6647442a5a6f801ee93613f0a7e /src
parent8ca1deb8d248f063945c0a6fc9f2c1718aeeed04 (diff)
downloadvyatta-op-vpn-7b759d6645a9c7583e9091f034c5bc2bbbadb369.tar.gz
vyatta-op-vpn-7b759d6645a9c7583e9091f034c5bc2bbbadb369.zip
Use 'equals' rather than 'contains' comparison when filtering out connection names. Bug 2629 fix.
Diffstat (limited to 'src')
-rw-r--r--src/xsl/show_vpn_ipsec_sa.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsl/show_vpn_ipsec_sa.xsl b/src/xsl/show_vpn_ipsec_sa.xsl
index b3cc8ab..22eabb0 100644
--- a/src/xsl/show_vpn_ipsec_sa.xsl
+++ b/src/xsl/show_vpn_ipsec_sa.xsl
@@ -68,7 +68,7 @@
<xsl:for-each select="opcommand/format/peer/setkey">
<xsl:choose>
<xsl:when test="string-length($conn) > 0">
- <xsl:if test="contains(conn_name, $conn)">
+ <xsl:if test="$conn = conn_name">
<xsl:call-template name="show_ipsec_sa">
<xsl:with-param name="row" select="." />
</xsl:call-template>