diff options
author | schweikh <schweikh@FreeBSD.org> | 2003-01-01 18:49:04 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2003-01-01 18:49:04 +0000 |
commit | d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8 (patch) | |
tree | f412dafc7d29429919e8770cdefeb37441fc1299 /sys/netipsec | |
parent | 718a7892bc6da2237db71c255051dd54a4e93a92 (diff) | |
download | FreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.zip FreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.tar.gz |
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
Diffstat (limited to 'sys/netipsec')
-rw-r--r-- | sys/netipsec/ipsec.c | 2 | ||||
-rw-r--r-- | sys/netipsec/key.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c index 9f126c5..2e765e0 100644 --- a/sys/netipsec/ipsec.c +++ b/sys/netipsec/ipsec.c @@ -409,7 +409,7 @@ ipsec_getpolicybyaddr(m, dir, flag, error) sp = NULL; if (key_havesp(dir)) { - /* make a index to look for a policy */ + /* Make an index to look for a policy. */ *error = ipsec_setspidx(m, &spidx, (flag & IP_FORWARDING) ? 0 : 1); if (*error != 0) { diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index 8fc161c..ff6bae1 100644 --- a/sys/netipsec/key.c +++ b/sys/netipsec/key.c @@ -137,7 +137,7 @@ static LIST_HEAD(_spacqtree, secspacq) spacqtree; /* SP acquiring list */ static u_int saorder_state_valid[] = { SADB_SASTATE_DYING, SADB_SASTATE_MATURE, /* - * This order is important because we must select a oldest SA + * This order is important because we must select the oldest SA * for outbound processing. For inbound, This is not important. */ }; @@ -1673,7 +1673,7 @@ fail: /* * SADB_X_SPDADD, SADB_X_SPDSETIDX or SADB_X_SPDUPDATE processing - * add a entry to SP database, when received + * add an entry to SP database, when received * <base, address(SD), (lifetime(H),) policy> * from the user(?). * Adding to SP database, @@ -2201,7 +2201,7 @@ key_spdacquire(sp) if (sp->policy != IPSEC_POLICY_IPSEC) panic("key_spdacquire: policy mismathed. IPsec is expected.\n"); - /* get a entry to check whether sent message or not. */ + /* Get an entry to check whether sent message or not. */ if ((newspacq = key_getspacq(&sp->spidx)) != NULL) { if (key_blockacq_count < newspacq->count) { /* reset counter and do send message. */ @@ -4822,7 +4822,7 @@ key_getsavbyseq(sah, seq) /* * SADB_ADD processing - * add a entry to SA database, when received + * add an entry to SA database, when received * <base, SA, (SA2), (lifetime(HSC),) address(SD), (address(P),) * key(AE), (identity(SD),) (sensitivity)> * from the ikmpd, @@ -5647,7 +5647,7 @@ key_acquire(const struct secasindex *saidx, struct secpolicy *sp) * getting something message from IKEd. In later case, to be * managed with ACQUIRING list. */ - /* get a entry to check whether sending message or not. */ + /* Get an entry to check whether sending message or not. */ if ((newacq = key_getacq(saidx)) != NULL) { if (key_blockacq_count < newacq->count) { /* reset counter and do send message. */ |