From 0e9480b864a16400fc3572719b05f01f300026ab Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 13 Mar 2007 08:17:59 +0000 Subject: Supress error message from modprobe on checking revision. --- include/ip6tables.h | 4 ++-- include/iptables_common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/ip6tables.h b/include/ip6tables.h index f8f709bc..89bdd54f 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -174,7 +174,7 @@ extern void parse_interface(const char *arg, char *vianame, unsigned char *mask) extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *), int verbose, int builtinstoo, ip6tc_handle_t *handle); 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); +extern int ip6tables_insmod(const char *modname, const char *modprobe, int quit); +extern int load_ip6tables_ko(const char *modprobe, int quit); #endif /*_IP6TABLES_USER_H*/ diff --git a/include/iptables_common.h b/include/iptables_common.h index 6f7e4295..08529064 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -27,8 +27,8 @@ extern int string_to_number_ll(const char *, unsigned long long int, 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); +extern int iptables_insmod(const char *modname, const char *modprobe, int quit); +extern int load_iptables_ko(const char *modprobe, int quit); void exit_error(enum exittype, char *, ...)__attribute__((noreturn, format(printf,2,3))); extern const char *program_name, *program_version; -- cgit v1.2.3