From c6132022905b10ac70223e8116f3903ea0039e75 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 Feb 2009 22:32:56 +0100 Subject: libxtables: prefix names and order it #2 This change affects: load_xtables_ko -> xtables_load_ko modprobe_program -> xtables_modprobe_program Now uses bool for the "quiet" flag. Signed-off-by: Jan Engelhardt Signed-off-by: Pablo Neira Ayuso --- ip6tables.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ip6tables.c') diff --git a/ip6tables.c b/ip6tables.c index 59c10115..580a644a 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -1769,7 +1770,7 @@ int do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **hand break; case 'M': - modprobe_program = optarg; + xtables_modprobe_program = optarg; break; case 'c': @@ -1967,7 +1968,7 @@ int do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **hand *handle = ip6tc_init(*table); /* try to insmod the module if iptc_init failed */ - if (!*handle && load_xtables_ko(modprobe_program, 0) != -1) + if (!*handle && xtables_load_ko(xtables_modprobe_program, false) != -1) *handle = ip6tc_init(*table); if (!*handle) -- cgit v1.2.3