diff options
author | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-03-20 16:50:21 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-03-20 16:50:21 +0000 |
commit | 64bcccb4ae7d2802117daa57ca39d975347051ec (patch) | |
tree | d5f1c7e3e9e4c75c229361b6f86535a1d7adc190 | |
parent | 29647c878ec485779b88a0c42f096ce028cabf15 (diff) |
ip6tables-restore should output error of modprobe if failed to load
ip6tables.ko after failed to initialize handle.
-rw-r--r-- | ip6tables-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 4f5ead1d..df2e7d55 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); } |