From 22c67577cb9be3a7de3c5dd8fb30be38d7fa6266 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 6 Jun 2017 11:39:56 +0000 Subject: Fix build without PF. --- sys/net/pfkeyv2_convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net') 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 -- cgit v1.2.3