summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_MASQUERADE.c
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
commit193df8ee3507f0c02762c88a16916c4ea950bd99 (patch)
treeb5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_MASQUERADE.c
parent5cd1ff53a500256997519ec1d871750773c44803 (diff)
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_MASQUERADE.c')
-rw-r--r--extensions/libipt_MASQUERADE.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_MASQUERADE.c b/extensions/libipt_MASQUERADE.c
index c24bb321..8db6bdd3 100644
--- a/extensions/libipt_MASQUERADE.c
+++ b/extensions/libipt_MASQUERADE.c
@@ -31,7 +31,7 @@ static struct option opts[] = {
/* Initialize the target. */
static void
-init(struct ipt_entry_target *t, unsigned int *nfcache)
+init(struct xt_entry_target *t, unsigned int *nfcache)
{
struct ip_nat_multi_range *mr = (struct ip_nat_multi_range *)t->data;
@@ -79,7 +79,7 @@ parse_ports(const char *arg, struct ip_nat_multi_range *mr)
static int
parse(int c, char **argv, int invert, unsigned int *flags,
const struct ipt_entry *entry,
- struct ipt_entry_target **target)
+ struct xt_entry_target **target)
{
int portok;
struct ip_nat_multi_range *mr
@@ -122,7 +122,7 @@ static void final_check(unsigned int flags)
/* Prints out the targinfo. */
static void
print(const struct ipt_ip *ip,
- const struct ipt_entry_target *target,
+ const struct xt_entry_target *target,
int numeric)
{
struct ip_nat_multi_range *mr
@@ -143,7 +143,7 @@ print(const struct ipt_ip *ip,
/* Saves the union ipt_targinfo in parsable form to stdout. */
static void
-save(const struct ipt_ip *ip, const struct ipt_entry_target *target)
+save(const struct ipt_ip *ip, const struct xt_entry_target *target)
{
struct ip_nat_multi_range *mr
= (struct ip_nat_multi_range *)target->data;