Don't handle right=%any6 as "loose" identity, but as %any

This commit is contained in:
Martin Willi
2013-01-14 10:33:14 +01:00
parent 426f34baf9
commit c4a49008e8
+1 -2
View File
@@ -414,7 +414,7 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
ca = other_end->ca2; ca = other_end->ca2;
} }
} }
if (id && *id == '%' && !streq(id, "%any")) if (id && *id == '%' && !streq(id, "%any") && !streq(id, "%any6"))
{ /* has only an effect on rightid/2 */ { /* has only an effect on rightid/2 */
loose = !local; loose = !local;
id++; id++;
@@ -1312,4 +1312,3 @@ stroke_config_t *stroke_config_create(stroke_ca_t *ca, stroke_cred_t *cred,
return &this->public; return &this->public;
} }