Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netipsec Repair references to nonexistent structs in sys...



details:   https://anonhg.NetBSD.org/src/rev/ee703a635b33
branches:  trunk
changeset: 574454:ee703a635b33
user:      jonathan <jonathan%NetBSD.org@localhost>
date:      Mon Feb 28 17:47:50 2005 +0000

description:
Repair references to nonexistent structs in sys/netipsec/key.c after
NAT-T changes. Matches changes to reference non-nonexistent structs in
sys/netkey.

I have no clue if this is correct, but it matches the style in
sys/netkey, and (unlike the previous two revisions) it actually compiles...

diffstat:

 sys/netipsec/key.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r eeffb6fc137b -r ee703a635b33 sys/netipsec/key.c
--- a/sys/netipsec/key.c        Mon Feb 28 16:57:56 2005 +0000
+++ b/sys/netipsec/key.c        Mon Feb 28 17:47:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.22 2005/02/26 22:45:13 perry Exp $   */
+/*     $NetBSD: key.c,v 1.23 2005/02/28 17:47:50 jonathan Exp $        */
 /*     $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $        */
 /*     $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $   */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.22 2005/02/26 22:45:13 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.23 2005/02/28 17:47:50 jonathan Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -186,7 +186,7 @@
        sizeof(struct sadb_x_nat_t_type),       /* SADB_X_EXT_NAT_T_TYPE */
        sizeof(struct sadb_x_nat_t_port),       /* SADB_X_EXT_NAT_T_SPORT */
        sizeof(struct sadb_x_nat_t_port),       /* SADB_X_EXT_NAT_T_DPORT */
-       sizeof(struct sadb_x_nat_t_oa),         /* SADB_X_EXT_NAT_T_OA */
+       sizeof(struct sadb_address),            /* SADB_X_EXT_NAT_T_OA */
        sizeof(struct sadb_x_nat_t_frag),       /* SADB_X_EXT_NAT_T_FRAG */
 };
 static const int maxsize[] = {
@@ -213,7 +213,7 @@
        sizeof(struct sadb_x_nat_t_type),       /* SADB_X_EXT_NAT_T_TYPE */
        sizeof(struct sadb_x_nat_t_port),       /* SADB_X_EXT_NAT_T_SPORT */
        sizeof(struct sadb_x_nat_t_port),       /* SADB_X_EXT_NAT_T_DPORT */
-       sizeof(struct sadb_x_nat_t_oa),         /* SADB_X_EXT_NAT_T_OA */
+       0,                                      /* SADB_X_EXT_NAT_T_OA */
        sizeof(struct sadb_x_nat_t_frag),       /* SADB_X_EXT_NAT_T_FRAG */
 };
 



Home | Main Index | Thread Index | Old Index