kernel: reorganize 2.6.37 patches
[openwrt.git] / target / linux / generic / patches-2.6.36 / 190-netfilter_rtsp.patch
index 68792936bb301286861099b59089df4526829aa8..7f1a9d80d48fab2acdc92cfeab409a3823f74613 100644 (file)
  obj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o
 --- a/net/netfilter/Kconfig
 +++ b/net/netfilter/Kconfig
-@@ -280,6 +280,16 @@ config NF_CONNTRACK_TFTP
+@@ -259,6 +259,16 @@ config NF_CONNTRACK_TFTP
  
          To compile it as a module, choose M here.  If unsure, say N.
  
 +    t = &exp->tuple;
 +    t->dst.u3.ip = newip;
 +
-+    extaddrlen = extip ? sprintf(szextaddr, "%u.%u.%u.%u", NIPQUAD(extip))
-+                       : sprintf(szextaddr, "%u.%u.%u.%u", NIPQUAD(newip));
++    extaddrlen = extip ? sprintf(szextaddr, "%u.%u.%u.%u", &extip)
++                       : sprintf(szextaddr, "%u.%u.%u.%u", &newip);
 +    DEBUGP("stunaddr=%s (%s)\n", szextaddr, (extip?"forced":"auto"));
 +
 +    rbuf1len = rbufalen = 0;
 +    newip = newdstip;
 +
 +    DEBUGP("newsrcip=%u.%u.%u.%u, newdstip=%u.%u.%u.%u, newip=%u.%u.%u.%u\n",
-+           NIPQUAD(newsrcip), NIPQUAD(newdstip), NIPQUAD(newip));
++           &newsrcip, &newdstip, &newip);
 +
 +    mr.rangesize = 1;
 +    // We don't want to manip the per-protocol, just the IPs.