From c021c3ce7b1583eb5dd71b10ac3d8ab3cd36beaa Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Jan 2009 15:10:05 +0100 Subject: libxtables: prefix/order - modprobe and xtables.ko loading 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 --- iptables-restore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iptables-restore.c') diff --git a/iptables-restore.c b/iptables-restore.c index 7cc6d6dc..3fbc9087 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -63,7 +64,7 @@ static struct iptc_handle *create_handle(const char *tablename) if (!handle) { /* try to insmod the module if iptc_init failed */ - load_xtables_ko(modprobe_program, 0); + xtables_load_ko(xtables_modprobe_program, false); handle = iptc_init(tablename); } @@ -167,7 +168,7 @@ main(int argc, char *argv[]) noflush = 1; break; case 'M': - modprobe_program = optarg; + xtables_modprobe_program = optarg; break; case 'T': tablename = optarg; -- cgit v1.2.3