fixed typos

This commit is contained in:
Andreas Steffen 2008-05-11 20:36:14 +00:00
parent 04c656d3e5
commit f85d02a419
2 changed files with 2 additions and 2 deletions

View 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);

View 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 */