aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/stroke
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/stroke')
-rwxr-xr-xsrc/charon/plugins/stroke/stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/stroke/stroke.c b/src/charon/plugins/stroke/stroke.c
index c92e6ee8a..9bff144f6 100755
--- a/src/charon/plugins/stroke/stroke.c
+++ b/src/charon/plugins/stroke/stroke.c
@@ -626,7 +626,7 @@ static bool shared_filter(shared_data_t *data,
{
id_match_t my_match, other_match;
- if (!(*in)->type == SHARED_ANY && !(*in)->type == data->type)
+ if (data->type != SHARED_ANY && (*in)->type != data->type)
{
return FALSE;
}