diff options
author | Tobias Brunner <tobias@strongswan.org> | 2008-09-03 07:44:46 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2008-09-03 07:44:46 +0000 |
commit | 6283b1f1f8c85ee91284b3215253cf1bb3958b09 (patch) | |
tree | a5d665a4505744ae1c4ddd17a40308092154d522 /src/charon/kernel/kernel_interface.c | |
parent | 703791715bd3c38a56709965f02b41def843b179 (diff) | |
download | strongswan-6283b1f1f8c85ee91284b3215253cf1bb3958b09.tar.bz2 strongswan-6283b1f1f8c85ee91284b3215253cf1bb3958b09.tar.xz |
typos
Diffstat (limited to 'src/charon/kernel/kernel_interface.c')
-rw-r--r-- | src/charon/kernel/kernel_interface.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/charon/kernel/kernel_interface.c b/src/charon/kernel/kernel_interface.c index 2db391c94..b5a6fa556 100644 --- a/src/charon/kernel/kernel_interface.c +++ b/src/charon/kernel/kernel_interface.c @@ -334,7 +334,7 @@ struct private_kernel_interface_t { linked_list_t *policies; /** - * Cached list of interfaces and its adresses (iface_entry_t) + * Cached list of interfaces and its addresses (iface_entry_t) */ linked_list_t *ifaces; @@ -1162,7 +1162,7 @@ static status_t netlink_send(private_kernel_interface_t *this, } /** - * send a netlink message and wait for its acknowlegde + * send a netlink message and wait for its acknowledge */ static status_t netlink_send_ack(private_kernel_interface_t *this, int socket, struct nlmsghdr *in) @@ -1206,7 +1206,7 @@ static status_t netlink_send_ack(private_kernel_interface_t *this, } break; } - DBG1(DBG_KNL, "netlink request not acknowlegded"); + DBG1(DBG_KNL, "netlink request not acknowledged"); free(out); return FAILED; } @@ -1351,7 +1351,7 @@ static iterator_t *create_address_iterator(private_kernel_interface_t *this) { iterator_t *iterator; - /* This iterator is not only hooked, is is double-hooked. As we have stored + /* This iterator is not only hooked, it is double-hooked. As we have stored * our addresses in iface_entry->addr_entry->ip, we need to iterate the * entries in each interface we iterate. This does the iface_hook. The * addr_hook returns the ip instead of the addr_entry. */ @@ -2410,7 +2410,7 @@ static status_t update_sa(private_kernel_interface_t *this, DBG2(DBG_KNL, "querying SAD entry with SPI %.8x for update", ntohl(spi)); - /* query the exisiting SA first */ + /* query the existing SA first */ hdr = (struct nlmsghdr*)request; hdr->nlmsg_flags = NLM_F_REQUEST; hdr->nlmsg_type = XFRM_MSG_GETSA; @@ -3131,4 +3131,3 @@ kernel_interface_t *kernel_interface_create() return &this->public; } - |