From d2fc6660805db60d8557cfae3d3e7184263f4f24 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org" Date: Tue, 20 Mar 2007 15:51:41 +0000 Subject: Fixes typos in the argument of ip[6]tables_insmod: quit -> quiet --- iptables.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index c74bc10..dee695f 100644 --- a/iptables.c +++ b/iptables.c @@ -1813,7 +1813,7 @@ static char *get_modprobe(void) return NULL; } -int iptables_insmod(const char *modname, const char *modprobe, int quit) +int iptables_insmod(const char *modname, const char *modprobe, int quiet) { char *buf = NULL; char *argv[4]; @@ -1831,7 +1831,7 @@ int iptables_insmod(const char *modname, const char *modprobe, int quit) case 0: argv[0] = (char *)modprobe; argv[1] = (char *)modname; - if (quit) { + if (quiet) { argv[2] = "-q"; argv[3] = NULL; } else { @@ -1855,13 +1855,13 @@ int iptables_insmod(const char *modname, const char *modprobe, int quit) return -1; } -int load_iptables_ko(const char *modprobe, int quit) +int load_iptables_ko(const char *modprobe, int quiet) { static int loaded = 0; static int ret = -1; if (!loaded) { - ret = iptables_insmod("ip_tables", NULL, quit); + ret = iptables_insmod("ip_tables", NULL, quiet); loaded = (ret == 0); } -- cgit v1.2.3