diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2007-10-04 16:24:50 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2007-10-04 16:24:50 +0000 |
commit | bce702101149d31162e1a2851a268f07824f3d6b (patch) | |
tree | 780486eb33c8b6ff11d760260823f07cc2805822 /extensions/libipt_icmp.c | |
parent | 39e512ce0d96670eded22483a94bc4dcb34b4ae0 (diff) |
[PATCH 03/14] Delete empty ->final_check() functions
Deletes empty ->final_check() functions, and makes ip[6]tables
checks for NULL on these.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_icmp.c')
-rw-r--r-- | extensions/libipt_icmp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libipt_icmp.c b/extensions/libipt_icmp.c index 5be4f21..0c1fbe7 100644 --- a/extensions/libipt_icmp.c +++ b/extensions/libipt_icmp.c @@ -280,11 +280,6 @@ static void save(const void *ip, const struct xt_entry_match *match) } } -/* Final check; we don't care. We can pass 0xFF to match any type */ -static void final_check(unsigned int flags) -{ -} - static struct iptables_match icmp = { .name = "icmp", .version = IPTABLES_VERSION, @@ -293,7 +288,6 @@ static struct iptables_match icmp = { .help = &help, .init = &init, .parse = &parse, - .final_check = &final_check, .print = &print, .save = &save, .extra_opts = opts |