diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-04-15 11:48:25 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-15 14:01:06 +0200 |
commit | 8b7c64d6ba156a99008fcd810cba874c73294333 (patch) | |
tree | 47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /ip6tables-save.c | |
parent | ddcb288316c942a5b8de33edd5f03318db8906b7 (diff) |
Remove old functions, constants
Diffstat (limited to 'ip6tables-save.c')
-rw-r--r-- | ip6tables-save.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ip6tables-save.c b/ip6tables-save.c index 6e2fea5d..bd4ccbfe 100644 --- a/ip6tables-save.c +++ b/ip6tables-save.c @@ -103,7 +103,7 @@ static void print_proto(u_int16_t proto, int invert) static int print_match(const struct ip6t_entry_match *e, const struct ip6t_ip6 *ip) { - struct ip6tables_match *match + struct xtables_match *match = find_match(e->u.user.name, TRY_LOAD, NULL); if (match) { @@ -199,7 +199,7 @@ static void print_rule(const struct ip6t_entry *e, /* Print targinfo part */ t = ip6t_get_target((struct ip6t_entry *)e); if (t->u.user.name[0]) { - struct ip6tables_target *target + struct xtables_target *target = find_target(t->u.user.name, TRY_LOAD); if (!target) { @@ -269,7 +269,7 @@ static int do_output(const char *tablename) time_t now = time(NULL); printf("# Generated by ip6tables-save v%s on %s", - IPTABLES_VERSION, ctime(&now)); + XTABLES_VERSION, ctime(&now)); printf("*%s\n", tablename); /* Dump out chain names first, @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) int c; program_name = "ip6tables-save"; - program_version = IPTABLES_VERSION; + program_version = XTABLES_VERSION; lib_dir = getenv("XTABLES_LIBDIR"); if (lib_dir == NULL) { |