summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2005-12-06 14:25:22 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2005-12-06 14:25:22 +0000
commita4ac2834b1045a851ccdea30c54de22303d7f36a (patch)
tree0a9eb4a67593f34f62a3c157418e084289938377 /sys
parentda34ec12108a2035a6938f02102f5968949dc7fb (diff)
export ipip flows, too; ok hshoexer
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkeyv2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index c1a563bc691..0d8dd738eb0 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.108 2005/06/01 11:22:07 hshoexer Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.109 2005/12/06 14:25:21 markus Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -2395,6 +2395,8 @@ pfkeyv2_sysctl_policydumper(struct ipsec_policy *ipo, void *arg)
msg.sadb_msg_satype = SADB_SATYPE_AH;
else if (ipo->ipo_sproto == IPPROTO_IPCOMP)
msg.sadb_msg_satype = SADB_X_SATYPE_IPCOMP;
+ else if (ipo->ipo_sproto == IPPROTO_IPIP)
+ msg.sadb_msg_satype = SADB_X_SATYPE_IPIP;
msg.sadb_msg_type = SADB_X_SPDDUMP;
msg.sadb_msg_len = (sizeof(msg) + buflen) / sizeof(uint64_t);
if ((error = copyout(&msg, w->w_where, sizeof(msg))) != 0)