diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-08-10 15:45:41 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-08-12 09:59:27 +0200 |
commit | 7ab19d571d1faba87bf829db5a5fc7baa347e2f7 (patch) | |
tree | 37107be0f6e00087b7c1e55834cef5dcbf99f87d /src/libcharon/sa | |
parent | ff4b25f9b7c58b876529446f1cc3ea2a080912db (diff) | |
download | strongswan-7ab19d571d1faba87bf829db5a5fc7baa347e2f7.tar.bz2 strongswan-7ab19d571d1faba87bf829db5a5fc7baa347e2f7.tar.xz |
Throw an alert when the peer address cannot be resolved during initiation.
Diffstat (limited to 'src/libcharon/sa')
-rw-r--r-- | src/libcharon/sa/ike_sa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/sa/ike_sa.c b/src/libcharon/sa/ike_sa.c index eb236770a..6536acf07 100644 --- a/src/libcharon/sa/ike_sa.c +++ b/src/libcharon/sa/ike_sa.c @@ -1118,6 +1118,7 @@ METHOD(ike_sa_t, initiate, status_t, { child_cfg->destroy(child_cfg); DBG1(DBG_IKE, "unable to initiate to %%any"); + charon->bus->alert(charon->bus, ALERT_PEER_ADDR_FAILED); return DESTROY_ME; } |