commit 89e520e2a710267c32b5afa03d32924646f78b28 Author: Nick Mathewson nickm@torproject.org Date: Thu Apr 3 17:00:22 2014 -0400
Call pf-divert openbsd-specific, not no-linux --- src/or/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c index f0ee322..3179018 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2555,8 +2555,8 @@ options_validate(or_options_t *old_options, or_options_t *options, if (!strcasecmp(options->TransProxyType, "default")) { options->TransProxyType_parsed = TPT_DEFAULT; } else if (!strcasecmp(options->TransProxyType, "pf-divert")) { -#ifdef __linux__ - REJECT("pf is a BSD-specific feature."); +#ifndef __OpenBSD__ + REJECT("pf-divert is a OpenBSD-specific feature."); #else options->TransProxyType_parsed = TPT_PF_DIVERT; #endif