From 60e32662f7b87e899f223da03feb6cd71418c9fd Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 6 Jan 2012 22:49:19 -0700 Subject: [PATCH] Bug 3461: build regression in IPFilter NAT --- src/ip/Intercept.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ip/Intercept.cc b/src/ip/Intercept.cc index 30ebd5d9d5..7d470ba56b 100644 --- a/src/ip/Intercept.cc +++ b/src/ip/Intercept.cc @@ -189,7 +189,7 @@ Ip::Intercept::IpfInterception(const Comm::ConnectionPointer &newConn, int silen int x; // all fields must be set to 0 - memset(natLookup, 0, sizeof(natLookup)); + memset(&natLookup, 0, sizeof(natLookup)); // for NAT lookup set local and remote IP:port's natLookup.nl_inport = htons(newConn->local.GetPort()); newConn->local.GetInAddr(natLookup.nl_inip); -- 2.47.2