From 6f7f2225bf32f3a85e6e25a7a7d43f639edcf55a Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Tue, 24 Jul 2007 05:47:40 +0000 Subject: Moves ip[6]tables_insmod() to xtables.c as xtables_insmod() --- ip6tables-restore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ip6tables-restore.c') diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 25c6ebd..bc32c06 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c @@ -16,6 +16,7 @@ #include #include #include "ip6tables.h" +#include "xtables.h" #include "libiptc/libip6tc.h" #ifdef DEBUG @@ -62,7 +63,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, 0); + xtables_insmod("ip6_tables", modprobe, 0); handle = ip6tc_init(tablename); } -- cgit v1.2.3