aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/charon/plugins/stroke/stroke_config.c2
-rw-r--r--src/starter/starterstroke.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/stroke/stroke_config.c b/src/charon/plugins/stroke/stroke_config.c
index f8b4db063..af196751e 100644
--- a/src/charon/plugins/stroke/stroke_config.c
+++ b/src/charon/plugins/stroke/stroke_config.c
@@ -473,7 +473,7 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
if (!vip)
{ /* if it is set to something like %poolname, request an address */
if (msg->add_conn.me.subnets)
- { /* use the same addreass as in subnet, if any */
+ { /* use the same address as in subnet, if any */
if (strchr(msg->add_conn.me.subnets, '.'))
{
vip = host_create_any(AF_INET);
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 4aacbce77..b3b08817c 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -184,7 +184,7 @@ static void starter_stroke_add_end(stroke_msg_t *msg, stroke_end_t *msg_end, sta
msg_end->sourceip_size = atoi(pos + 1);
}
else
- { /* a sigle address */
+ { /* a single address */
msg_end->sourceip = push_string(msg, conn_end->srcip);
if (strchr(conn_end->srcip, ':'))
{ /* IPv6 */