diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-03 17:00:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-16 23:03:25 -0400 |
commit | 89e520e2a710267c32b5afa03d32924646f78b28 (patch) | |
tree | 4a3729d0ea1b8fcd8e7a22fd06adba7ef24c81cd | |
parent | c00c45fee133cbb21f69321fa7715a9f7d91164d (diff) | |
download | tor-89e520e2a710267c32b5afa03d32924646f78b28.tar.gz tor-89e520e2a710267c32b5afa03d32924646f78b28.zip |
Call pf-divert openbsd-specific, not no-linux
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index f0ee322987..3179018fb6 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 |