diff options
author | Stef Walter <stef@thewalter.net> | 2010-10-29 02:39:23 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2011-01-23 15:47:45 -0600 |
commit | f23912e31c899baef078eeb3ea7afaf8ed607c0c (patch) | |
tree | 41c18a31cd35078e55f105d1020055a50d8c8b6e /common/spio.c | |
parent | 57ccf44dca2905aa85d852177ffa4ad28ccfb9da (diff) |
Proper build and configure support for transparent proxy
Diffstat (limited to 'common/spio.c')
-rw-r--r-- | common/spio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spio.c b/common/spio.c index 736ccc2..d5c52ae 100644 --- a/common/spio.c +++ b/common/spio.c @@ -169,7 +169,7 @@ int spio_connect(spctx_t* ctx, spio_t* io, const struct sockaddr_any* sdst, fcntl(fd, F_SETFD, fcntl(fd, F_GETFD, 0) | FD_CLOEXEC); if (ssrc != NULL) { -#ifdef LINUX_NETFILTER +#ifdef HAVE_IP_TRANSPARENT int value = 1; if(setsockopt(fd, SOL_IP, IP_TRANSPARENT, &value, sizeof(value)) < 0) { sp_message(ctx, LOG_DEBUG, "%s: couldn't set transparent mode on connection", |