diff options
author | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
commit | 193df8ee3507f0c02762c88a16916c4ea950bd99 (patch) | |
tree | b5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_quota.c | |
parent | 5cd1ff53a500256997519ec1d871750773c44803 (diff) |
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_quota.c')
-rw-r--r-- | extensions/libipt_quota.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_quota.c b/extensions/libipt_quota.c index 83807541..eb26e662 100644 --- a/extensions/libipt_quota.c +++ b/extensions/libipt_quota.c @@ -27,7 +27,7 @@ help(void) /* print matchinfo */ static void -print(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric) +print(const struct ipt_ip *ip, const struct xt_entry_match *match, int numeric) { struct xt_quota_info *q = (struct xt_quota_info *) match->data; printf("quota: %llu bytes", (unsigned long long) q->quota); @@ -35,7 +35,7 @@ print(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric) /* save matchinfo */ static void -save(const struct ipt_ip *ip, const struct ipt_entry_match *match) +save(const struct ipt_ip *ip, const struct xt_entry_match *match) { struct xt_quota_info *q = (struct xt_quota_info *) match->data; printf("--quota %llu ", (unsigned long long) q->quota); @@ -61,7 +61,7 @@ parse_quota(const char *s, u_int64_t * quota) static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, - unsigned int *nfcache, struct ipt_entry_match **match) + unsigned int *nfcache, struct xt_entry_match **match) { struct xt_quota_info *info = (struct xt_quota_info *) (*match)->data; |