mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
2e590a6364
Update iptables to 1.8.6 ChangeLog: https://netfilter.org/projects/iptables/files/changes-iptables-1.8.6.txt Refresh patch: 101-remove-check-already.patch Signed-off-by: Curtis Deptuck <curtdept@me.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patches]
29 lines
879 B
Diff
29 lines
879 B
Diff
--- a/libxtables/xtables.c
|
|
+++ b/libxtables/xtables.c
|
|
@@ -968,12 +968,6 @@ void xtables_register_match(struct xtabl
|
|
struct xtables_match **pos;
|
|
bool seen_myself = false;
|
|
|
|
- if (me->next) {
|
|
- fprintf(stderr, "%s: match \"%s\" already registered\n",
|
|
- xt_params->program_name, me->name);
|
|
- exit(1);
|
|
- }
|
|
-
|
|
if (me->version == NULL) {
|
|
fprintf(stderr, "%s: match %s<%u> is missing a version\n",
|
|
xt_params->program_name, me->name, me->revision);
|
|
@@ -1152,12 +1146,6 @@ void xtables_register_target(struct xtab
|
|
struct xtables_target **pos;
|
|
bool seen_myself = false;
|
|
|
|
- if (me->next) {
|
|
- fprintf(stderr, "%s: target \"%s\" already registered\n",
|
|
- xt_params->program_name, me->name);
|
|
- exit(1);
|
|
- }
|
|
-
|
|
if (me->version == NULL) {
|
|
fprintf(stderr, "%s: target %s<%u> is missing a version\n",
|
|
xt_params->program_name, me->name, me->revision);
|