diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-01 13:46:10 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-01 13:46:10 +0000 |
commit | 46710646739f041598fe5b8fc6df6df2e0aba252 (patch) | |
tree | e0271d40136054467e0314beb0cca9ddf5c99ecf /package/network/utils/iptables/patches | |
parent | 0929cc96b07baa3b0af9cef83439bcbe957830b6 (diff) |
iptables: Update to 1.4.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iptables/patches')
-rw-r--r-- | package/network/utils/iptables/patches/400-lenient-restore.patch | 8 | ||||
-rw-r--r-- | package/network/utils/iptables/patches/410-add_reap_again.patch | 13 |
2 files changed, 4 insertions, 17 deletions
diff --git a/package/network/utils/iptables/patches/400-lenient-restore.patch b/package/network/utils/iptables/patches/400-lenient-restore.patch index 696d733225..c9c490602b 100644 --- a/package/network/utils/iptables/patches/400-lenient-restore.patch +++ b/package/network/utils/iptables/patches/400-lenient-restore.patch @@ -77,10 +77,10 @@ Index: iptables-1.4.18/iptables/ip6tables-restore.c DEBUGP("argv[%u]: %s\n", a, newargv[a]); - ret = do_command6(newargc, newargv, -- &newargv[2], &handle); +- &newargv[2], &handle, true); + if (!setjmp(jmp)) + ret = do_command6(newargc, newargv, -+ &newargv[2], &handle); ++ &newargv[2], &handle, true); + else + ret = 1; @@ -165,10 +165,10 @@ Index: iptables-1.4.18/iptables/iptables-restore.c DEBUGP("argv[%u]: %s\n", a, newargv[a]); - ret = do_command4(newargc, newargv, -- &newargv[2], &handle); +- &newargv[2], &handle, true); + if (!setjmp(jmp)) + ret = do_command4(newargc, newargv, -+ &newargv[2], &handle); ++ &newargv[2], &handle, true); + else + ret = 1; diff --git a/package/network/utils/iptables/patches/410-add_reap_again.patch b/package/network/utils/iptables/patches/410-add_reap_again.patch deleted file mode 100644 index 0bb40fbcf0..0000000000 --- a/package/network/utils/iptables/patches/410-add_reap_again.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: iptables-1.4.19.1/extensions/libxt_recent.c -=================================================================== ---- iptables-1.4.19.1.orig/extensions/libxt_recent.c -+++ iptables-1.4.19.1/extensions/libxt_recent.c -@@ -63,6 +63,8 @@ static const struct xt_option_entry rece - .excl = F_ANY_OP, .flags = XTOPT_INVERT}, - {.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32, - .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds)}, -+ {.name = "reap", .id = O_REAP, .type = XTTYPE_NONE, -+ .also = F_SECONDS }, - {.name = "hitcount", .id = O_HITCOUNT, .type = XTTYPE_UINT32, - .flags = XTOPT_PUT, XTOPT_POINTER(s, hit_count)}, - {.name = "rttl", .id = O_RTTL, .type = XTTYPE_NONE, |