Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()
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 @@
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);
}