summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:47:40 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:47:40 +0000
commit6f7f2225bf32f3a85e6e25a7a7d43f639edcf55a (patch)
treeb7e92675bb3d9f8ba81649079770bda715d8ecdd /iptables-restore.c
parent4c1875afc6d017e83a5530dbce17c41c687e302b (diff)
Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index 61631ae..66918a0 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -13,6 +13,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "iptables.h"
+#include "xtables.h"
#include "libiptc/libiptc.h"
#ifdef DEBUG
@@ -59,7 +60,7 @@ iptc_handle_t create_handle(const char *tablename, const char* modprobe )
if (!handle) {
/* try to insmod the module if iptc_init failed */
- iptables_insmod("ip_tables", modprobe, 0);
+ xtables_insmod("ip_tables", modprobe, 0);
handle = iptc_init(tablename);
}