diff options
Diffstat (limited to 'src/pluto/modecfg.c')
-rw-r--r-- | src/pluto/modecfg.c | 8 |
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; } |