From: mpi Date: Tue, 6 Jun 2017 11:39:55 +0000 (+0000) Subject: Fix build without PF. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=59b885cba19ecc20d6713744841e4f8da2ccdee6;p=openbsd Fix build without PF. --- 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