diff options
author | Martin Willi <martin@revosec.ch> | 2013-01-14 10:33:14 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-01-14 10:33:14 +0100 |
commit | c4a49008e899fdddded5fdac9fbdaf60836ba8ab (patch) | |
tree | f01e867013f3a7744fa3319ebbcfc612413f9725 /src/libcharon | |
parent | 426f34baf961bc714053bf9b339ac8c670200455 (diff) | |
download | strongswan-c4a49008e899fdddded5fdac9fbdaf60836ba8ab.tar.bz2 strongswan-c4a49008e899fdddded5fdac9fbdaf60836ba8ab.tar.xz |
Don't handle right=%any6 as "loose" identity, but as %any
Diffstat (limited to 'src/libcharon')
-rw-r--r-- | src/libcharon/plugins/stroke/stroke_config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_config.c b/src/libcharon/plugins/stroke/stroke_config.c index 112c32d41..9f6124dc9 100644 --- a/src/libcharon/plugins/stroke/stroke_config.c +++ b/src/libcharon/plugins/stroke/stroke_config.c @@ -414,7 +414,7 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this, 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 */ loose = !local; id++; @@ -1312,4 +1312,3 @@ stroke_config_t *stroke_config_create(stroke_ca_t *ca, stroke_cred_t *cred, return &this->public; } - |