Subject: kern/11889: typos in comment of ipsec.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yyamano@kt.rim.or.jp>
List: netbsd-bugs
Date: 01/04/2001 03:30:24
>Number:         11889
>Category:       kern
>Synopsis:       typos in comment of ipsec.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 04 03:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yuji Yamano
>Release:        1.5_ALPHA
>Organization:
>Environment:
System: NetBSD bigfoot 1.5_ALPHA NetBSD 1.5_ALPHA (BIGFOOT) #3: Sat Jul 15 00:23:42 JST 2000 yyamano@bigfoot:/usr/src/sys/arch/i386/compile/BIGFOOT i386

>Description:
/usr/src/sys/netinet6/ipsec.h has some typos in comment.

>How-To-Repeat:

>Fix:
Here is the patch for ipsec.h rev 1.14, but `Encure' was fixed in 
the recent version.

--- /usr/src/sys/netinet6/ipsec.h	Wed Jun 21 09:00:16 2000
+++ ipsec.h	Thu Jan  4 14:54:48 2001
@@ -48,9 +48,9 @@
 
 /*
  * Security Policy Index
- * NOTE: Encure to be same address family and upper layer protocol.
+ * NOTE: Ensure to be same address family and upper layer protocol.
  * NOTE: ul_proto, port number, uid, gid:
- *	ANY: reserved for waldcard.
+ *	ANY: reserved for wildcard.
  *	0 to (~0 - 1): is one of the number of each value.
  */
 struct secpolicyindex {
@@ -141,9 +141,9 @@
 
 /* Policy level */
 /*
- * IPSEC, ENTRUST and BYPASS are allowd for setsockopt() in PCB,
- * DISCARD, IPSEC and NONE are allowd for setkey() in SPD.
- * DISCARD and NONE are allowd for system default.
+ * IPSEC, ENTRUST and BYPASS are allowed for setsockopt() in PCB,
+ * DISCARD, IPSEC and NONE are allowed for setkey() in SPD.
+ * DISCARD and NONE are allowed for system default.
  */
 #define IPSEC_POLICY_DISCARD	0	/* discarding packet */
 #define IPSEC_POLICY_NONE	1	/* through IPsec engine */

>Release-Note:
>Audit-Trail:
>Unformatted: