From 740d72705d49373c4ee05b77b34aeb385854389e Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Mon, 13 Nov 2006 05:09:16 +0000 Subject: load ip_[6]tables.ko just before checking revision support in kernel. --- include/ip6tables.h | 1 + include/iptables_common.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/ip6tables.h b/include/ip6tables.h index 8fe7899b..7907f66b 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -172,5 +172,6 @@ extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t * extern int flush_entries(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle); extern int delete_chain(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle); extern int ip6tables_insmod(const char *modname, const char *modprobe); +extern int load_ip6tables_ko(const char *modprobe); #endif /*_IP6TABLES_USER_H*/ diff --git a/include/iptables_common.h b/include/iptables_common.h index 05516ac0..6f7e4295 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -28,6 +28,7 @@ extern int string_to_number_ll(const char *, unsigned long long int, unsigned long long *); extern int iptables_insmod(const char *modname, const char *modprobe); +extern int load_iptables_ko(const char *modprobe); void exit_error(enum exittype, char *, ...)__attribute__((noreturn, format(printf,2,3))); extern const char *program_name, *program_version; -- cgit v1.2.3