From 8b7c64d6ba156a99008fcd810cba874c73294333 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:48:25 +0200 Subject: Remove old functions, constants --- ip6tables-save.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ip6tables-save.c') 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) { -- cgit v1.2.3