[PATCH] fix ip_conntrack_helper_pptp build when CONFIG_IP_NF_NAT_NEEDED=n

Harald Welte laforge at netfilter.org
Thu Nov 3 10:54:09 CET 2005


On Mon, Oct 31, 2005 at 06:13:55PM -0700, dann frazier wrote:
> As reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336431,
> ip_conntrack_helper_pptp in 2.6.14 fails to build if
> CONFIG_IP_NF_NAT_NEEDED isn't enabled.  This patch fixes this by
> disabling manipulation of the dir field of ip_conntrack_expect
> structures when full nat isn't configured.  Compile tested only.

Thanks for reporting this bug.   Yasuyuki Kozakai has submitted a
slightly cleaner version, so I'm merging his patch.

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20051103/12be0d5e/attachment.pgp


More information about the netfilter-devel mailing list