diff options
author | Martin Willi <martin@strongswan.org> | 2008-06-06 15:05:54 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-06-06 15:05:54 +0000 |
commit | 5a22a02156816fc9f56ca56c70fbfda6574b285d (patch) | |
tree | 061ab063820d3db0272c55083ff26ac6d170ce51 /src/charon/plugins/stroke/stroke_list.c | |
parent | 1e9c46f13daced3199953f4d1758c7e03c935083 (diff) | |
download | strongswan-5a22a02156816fc9f56ca56c70fbfda6574b285d.tar.bz2 strongswan-5a22a02156816fc9f56ca56c70fbfda6574b285d.tar.xz |
DNS resolving of ike_cfg hosts dynamically on demand
Diffstat (limited to 'src/charon/plugins/stroke/stroke_list.c')
-rw-r--r-- | src/charon/plugins/stroke/stroke_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/plugins/stroke/stroke_list.c b/src/charon/plugins/stroke/stroke_list.c index db9d829e1..4f0602498 100644 --- a/src/charon/plugins/stroke/stroke_list.c +++ b/src/charon/plugins/stroke/stroke_list.c @@ -229,9 +229,9 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo } ike_cfg = peer_cfg->get_ike_cfg(peer_cfg); - fprintf(out, "%12s: %H[%D]...%H[%D]\n", peer_cfg->get_name(peer_cfg), - ike_cfg->get_my_host(ike_cfg), peer_cfg->get_my_id(peer_cfg), - ike_cfg->get_other_host(ike_cfg), peer_cfg->get_other_id(peer_cfg)); + fprintf(out, "%12s: %s[%D]...%s[%D]\n", peer_cfg->get_name(peer_cfg), + ike_cfg->get_my_addr(ike_cfg), peer_cfg->get_my_id(peer_cfg), + ike_cfg->get_other_addr(ike_cfg), peer_cfg->get_other_id(peer_cfg)); /* TODO: list CAs and groups */ children = peer_cfg->create_child_cfg_enumerator(peer_cfg); while (children->enumerate(children, &child_cfg)) |