linux.c, yaid.c: Correct policy application for proxied queries.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 21 Oct 2012 14:52:25 +0000 (15:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 24 Oct 2012 09:24:32 +0000 (10:24 +0100)
The apparent remote address for a proxy connection is the gateway, but
in fact the information is going to some remote server.  Therefore, once
we've identified a proxy connection, overwrite the remote address in
the query with the true remote host.

This means fixing up the query structure with the gateway address next
time, so keep track of the connection remote address and restore it on
each query.


No differences found