summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2005-05-26 05:34:18 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2005-05-26 05:34:18 +0000
commit7ca4755b130e6b492460eda189a7352a587ec59e (patch)
tree2228875f09bfbf22cfb0f120d586b5a72f8abf83
parente0a9c87cb522890b27237fae65b1590616a6a363 (diff)
disable SPD snapshot for now
-rw-r--r--usr.sbin/sasyncd/pfkey.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sasyncd/pfkey.c b/usr.sbin/sasyncd/pfkey.c
index 414295a8ae4..f1955a436ae 100644
--- a/usr.sbin/sasyncd/pfkey.c
+++ b/usr.sbin/sasyncd/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.7 2005/05/26 00:55:03 ho Exp $ */
+/* $OpenBSD: pfkey.c,v 1.8 2005/05/26 05:34:17 ho Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -318,7 +318,6 @@ pfkey_snapshot(void *v)
{
struct syncpeer *p = (struct syncpeer *)v;
struct sadb_msg *m;
- struct ipsec_policy *ip;
u_int8_t *sadb, *spd, *max, *next, *sendbuf;
u_int32_t sadbsz, spdsz;
@@ -356,9 +355,11 @@ pfkey_snapshot(void *v)
memset(sadb, 0, sadbsz);
free(sadb);
}
-
+
+#ifdef notyet
/* Parse SPD data */
if (spdsz && spd) {
+ struct ipsec_policy *ip;
dump_buf(5, spd, spdsz, "pfkey_snapshot: SPD data");
max = spd + spdsz;
@@ -374,5 +375,6 @@ pfkey_snapshot(void *v)
memset(spd, 0, spdsz);
free(spd);
}
+#endif
return;
}