1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

upgrade to iptables 1.3.5

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3448 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2006-03-22 11:43:35 +00:00
parent 54b8d376c9
commit 9df6aa8200
2 changed files with 2 additions and 32 deletions

View File

@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=iptables
PKG_VERSION:=1.3.4
PKG_VERSION:=1.3.5
PKG_RELEASE:=1
PKG_MD5SUM:=fdff8abe890807968226b0c374335305
PKG_MD5SUM:=00fb916fa8040ca992a5ace56d905ea5
PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \

View File

@ -1,30 +0,0 @@
diff -Nur iptables-1.3.4/extensions/libipt_string.c iptables-1.3.4-openwrt/extensions/libipt_string.c
--- iptables-1.3.4/extensions/libipt_string.c 2005-10-31 20:03:50.000000000 +0100
+++ iptables-1.3.4-openwrt/extensions/libipt_string.c 2005-12-15 15:08:27.000000000 +0100
@@ -63,7 +63,7 @@
}
static void
-parse_string(const unsigned char *s, struct ipt_string_info *info)
+parse_string(const char *s, struct ipt_string_info *info)
{
if (strlen(s) <= IPT_STRING_MAX_PATTERN_SIZE) {
strncpy(info->pattern, s, IPT_STRING_MAX_PATTERN_SIZE);
@@ -74,7 +74,7 @@
}
static void
-parse_algo(const unsigned char *s, struct ipt_string_info *info)
+parse_algo(const char *s, struct ipt_string_info *info)
{
if (strlen(s) <= IPT_STRING_MAX_ALGO_NAME_SIZE) {
strncpy(info->algo, s, IPT_STRING_MAX_ALGO_NAME_SIZE);
@@ -84,7 +84,7 @@
}
static void
-parse_hex_string(const unsigned char *s, struct ipt_string_info *info)
+parse_hex_string(const char *s, struct ipt_string_info *info)
{
int i=0, slen, sindex=0, schar;
short hex_f = 0, literal_f = 0;