mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03: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:
@@ -1016,8 +1016,8 @@
|
|||||||
+ t = &exp->tuple;
|
+ t = &exp->tuple;
|
||||||
+ t->dst.u3.ip = newip;
|
+ t->dst.u3.ip = newip;
|
||||||
+
|
+
|
||||||
+ extaddrlen = extip ? sprintf(szextaddr, "%u.%u.%u.%u", NIPQUAD(extip))
|
+ extaddrlen = extip ? sprintf(szextaddr, "%u.%u.%u.%u", &extip)
|
||||||
+ : sprintf(szextaddr, "%u.%u.%u.%u", NIPQUAD(newip));
|
+ : sprintf(szextaddr, "%u.%u.%u.%u", &newip);
|
||||||
+ DEBUGP("stunaddr=%s (%s)\n", szextaddr, (extip?"forced":"auto"));
|
+ DEBUGP("stunaddr=%s (%s)\n", szextaddr, (extip?"forced":"auto"));
|
||||||
+
|
+
|
||||||
+ rbuf1len = rbufalen = 0;
|
+ rbuf1len = rbufalen = 0;
|
||||||
@@ -1319,7 +1319,7 @@
|
|||||||
+ newip = newdstip;
|
+ newip = newdstip;
|
||||||
+
|
+
|
||||||
+ DEBUGP("newsrcip=%u.%u.%u.%u, newdstip=%u.%u.%u.%u, newip=%u.%u.%u.%u\n",
|
+ 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;
|
+ mr.rangesize = 1;
|
||||||
+ // We don't want to manip the per-protocol, just the IPs.
|
+ // We don't want to manip the per-protocol, just the IPs.
|
||||||
|
|||||||
Reference in New Issue
Block a user