fixed typos
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 11 May 2008 20:36:14 +0000 (20:36 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 11 May 2008 20:36:14 +0000 (20:36 -0000)
src/charon/plugins/stroke/stroke_config.c
src/starter/starterstroke.c

index f8b4db0..af19675 100644 (file)
@@ -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);
index 4aacbce..b3b0881 100644 (file)
@@ -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 */