summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-2.6.36/190-netfilter_rtsp.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.36/190-netfilter_rtsp.patch b/target/linux/generic/patches-2.6.36/190-netfilter_rtsp.patch
index 6879293..e7fcefe 100644
--- a/target/linux/generic/patches-2.6.36/190-netfilter_rtsp.patch
+++ b/target/linux/generic/patches-2.6.36/190-netfilter_rtsp.patch
@@ -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.