summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-06-06 11:39:56 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-06-06 11:39:56 +0000
commit22c67577cb9be3a7de3c5dd8fb30be38d7fa6266 (patch)
tree60050f03f78a506698addfe389c03ac5bde675dc /sys/net
parent13cd75d1e9976fbe5d07562adb8ed91a2f34b311 (diff)
Fix build without PF.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2_convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2_convert.c b/sys/net/pfkeyv2_convert.c
index 2008489046d..a620dbc739f 100644
--- a/sys/net/pfkeyv2_convert.c
+++ b/sys/net/pfkeyv2_convert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_convert.c,v 1.60 2017/05/05 11:04:18 bluhm Exp $ */
+/* $OpenBSD: pfkeyv2_convert.c,v 1.61 2017/06/06 11:39:55 mpi Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@keromytis.org)
*
@@ -887,6 +887,7 @@ export_tap(void **p, struct tdb *tdb)
stag->sadb_x_tap_len = sizeof(struct sadb_x_tap) / sizeof(uint64_t);
*p += sizeof(struct sadb_x_tap);
}
+#endif
void
export_satype(void **p, struct tdb *tdb)
@@ -897,4 +898,3 @@ export_satype(void **p, struct tdb *tdb)
sizeof(uint64_t);
sab->sadb_protocol_proto = tdb->tdb_satype;
}
-#endif