diff options
Diffstat (limited to 'extensions/libipt_DNAT.c')
-rw-r--r-- | extensions/libipt_DNAT.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/extensions/libipt_DNAT.c b/extensions/libipt_DNAT.c index 96a6e6b5..94d04e8e 100644 --- a/extensions/libipt_DNAT.c +++ b/extensions/libipt_DNAT.c @@ -33,14 +33,6 @@ static struct option opts[] = { { 0 } }; -/* Initialize the target. */ -static void -init(struct ipt_entry_target *t, unsigned int *nfcache) -{ - /* Can't cache this */ - *nfcache |= NFC_UNKNOWN; -} - static struct ipt_natinfo * append_range(struct ipt_natinfo *info, const struct ip_nat_range *range) { @@ -236,7 +228,6 @@ static struct iptables_target dnat = { .size = IPT_ALIGN(sizeof(struct ip_nat_multi_range)), .userspacesize = IPT_ALIGN(sizeof(struct ip_nat_multi_range)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, |