summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/ipsecctl/ipsecctl.h6
-rw-r--r--sbin/ipsecctl/parse.y6
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h
index 089f6c7f816..e4756f78ab2 100644
--- a/sbin/ipsecctl/ipsecctl.h
+++ b/sbin/ipsecctl/ipsecctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.h,v 1.37 2006/05/30 21:56:05 msf Exp $ */
+/* $OpenBSD: ipsecctl.h,v 1.38 2006/05/31 14:38:31 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -152,8 +152,8 @@ struct ipsec_rule {
struct ipsec_key *authkey;
struct ipsec_key *enckey;
- u_int8_t satype; /* encapsulating prococol */
- u_int8_t proto; /* encapsulated protocol */
+ u_int8_t satype; /* encapsulating prococol */
+ u_int8_t proto; /* encapsulated protocol */
u_int8_t tmode;
u_int8_t direction;
u_int8_t flowtype;
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index dd274ee50b4..4a91a22a6ab 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.81 2006/05/31 09:03:43 todd Exp $ */
+/* $OpenBSD: parse.y,v 1.82 2006/05/31 14:38:31 hshoexer Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1260,8 +1260,8 @@ host_v6(const char *s, int prefixlen)
err(1, "host_addr: calloc");
ipa->af = res->ai_family;
memcpy(&ipa->address.v6,
- &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr.s6_addr,
- sizeof(struct in6_addr));
+ &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr.s6_addr,
+ sizeof(struct in6_addr));
if (prefixlen > 128)
prefixlen = 128;
ipa->next = NULL;