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:00 +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:00 +0000 |
commit | 39e512ce0d96670eded22483a94bc4dcb34b4ae0 (patch) | |
tree | f29ea212a273f3e9be06601180640c01b4862769 /extensions/libipt_CLUSTERIP.c | |
parent | 402d34e55b04c367c20863a8e40b41da945fd6b4 (diff) |
[PATCH 02/14] Delete empty ->init() functions
Deletes empty ->init() functions. ip[6]tables already
checks for .init being NULL or not.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_CLUSTERIP.c')
-rw-r--r-- | extensions/libipt_CLUSTERIP.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libipt_CLUSTERIP.c b/extensions/libipt_CLUSTERIP.c index 384dbdf..7e8bd43 100644 --- a/extensions/libipt_CLUSTERIP.c +++ b/extensions/libipt_CLUSTERIP.c @@ -55,11 +55,6 @@ static const struct option opts[] = { }; static void -init(struct xt_entry_target *t) -{ -} - -static void parse_mac(const char *mac, char *macbuf) { unsigned int i = 0; @@ -253,7 +248,6 @@ static struct iptables_target clusterip = { .size = IPT_ALIGN(sizeof(struct ipt_clusterip_tgt_info)), .userspacesize = offsetof(struct ipt_clusterip_tgt_info, config), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, |