[package] xtables-addons: fix build for 64-bits targets

The first fix is a pointer comparison fix, and the second is not to
override the Linux kernel's TARGET_LDFLAGS with those that we use
during cross-compiling.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32958 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-08-03 13:32:39 +00:00
parent 256c60a8bb
commit 321acbec8d
2 changed files with 2 additions and 4 deletions

View File

@ -18014,7 +18014,7 @@
+ else if (pskb->transport_header)
+ p->start = pskb->transport_header;
+ p->offset = 0;
+ p->length = pskb->tail - p->start;
+ p->length = (unsigned long)pskb->tail - (unsigned long)p->start;
+ p->changes = NULL;
+
+ /* marking userdata 'lua_packet_seg' with the corresponding metatable */