From: Yasuyuki KOZAKAI Date: Tue, 20 Mar 2007 16:50:21 +0000 (+0000) Subject: ip6tables-restore should output error of modprobe if failed to load X-Git-Tag: v1.3.8~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64bcccb4ae7d2802117daa57ca39d975347051ec;p=thirdparty%2Fiptables.git ip6tables-restore should output error of modprobe if failed to load ip6tables.ko after failed to initialize handle. --- 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); }