aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/modecfg.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-01-29 07:43:34 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-01-29 07:43:34 +0000
commitef05d8465be970e30bc7e763e689ece52e4aad91 (patch)
tree6cabf5ead6dd58b190da4a190117b1fa4dea7f78 /src/pluto/modecfg.c
parentf527c5a2880ba107a8032277cdaca2295c2a9dd3 (diff)
downloadstrongswan-ef05d8465be970e30bc7e763e689ece52e4aad91.tar.bz2
strongswan-ef05d8465be970e30bc7e763e689ece52e4aad91.tar.xz
XAUTH interoperability with Cisco
Diffstat (limited to 'src/pluto/modecfg.c')
-rw-r--r--src/pluto/modecfg.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pluto/modecfg.c b/src/pluto/modecfg.c
index 1725adc1e..ab44a113e 100644
--- a/src/pluto/modecfg.c
+++ b/src/pluto/modecfg.c
@@ -910,6 +910,7 @@ xauth_inI0(struct msg_digest *md)
if (stat == STF_OK)
{
st->st_xauth.started = TRUE;
+ st->st_msgid = 0;
return STF_OK;
}
else
@@ -988,11 +989,8 @@ xauth_inR1(struct msg_digest *md)
plog("sending XAUTH status:");
- stat_build = modecfg_build_msg(st, &md->rbody
- , ISAKMP_CFG_SET
- , &ia
- , isama_id);
- if (stat_build != STF_OK)
+ stat_build = modecfg_send_msg(st, ISAKMP_CFG_SET, &ia);
+ if (stat_build != STF_OK)
return stat_build;
return STF_OK;
}