1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:18:26 +02:00

linux/generic: update 2.6.36 kernel patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22844 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2010-08-30 08:58:50 +00:00
parent cf5ce25305
commit 2e6f3ef552

View File

@ -1016,8 +1016,8 @@
+ 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;
@ -1319,7 +1319,7 @@
+ 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.