summaryrefslogtreecommitdiff
path: root/src/xsl/show_vpn_ipsec_sa.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsl/show_vpn_ipsec_sa.xsl')
-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>