summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org>2007-03-20 16:50:21 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org>2007-03-20 16:50:21 +0000
commitc779f1f3bdabbfcfa267687500a195075f9e6eb0 (patch)
treed5f1c7e3e9e4c75c229361b6f86535a1d7adc190 /ip6tables-restore.c
parentd2fc6660805db60d8557cfae3d3e7184263f4f24 (diff)
ip6tables-restore should output error of modprobe if failed to load
ip6tables.ko after failed to initialize handle.
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 4f5ead1..df2e7d5 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -62,7 +62,7 @@ ip6tc_handle_t create_handle(const char *tablename, const char* modprobe)
if (!handle) {
/* try to insmod the module if iptc_init failed */
- ip6tables_insmod("ip6_tables", modprobe, 1);
+ ip6tables_insmod("ip6_tables", modprobe, 0);
handle = ip6tc_init(tablename);
}