summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-03-20 15:51:41 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-03-20 15:51:41 +0000
commit29647c878ec485779b88a0c42f096ce028cabf15 (patch)
treee2341d28d45d2c49d36527adea2f09efffc64099 /iptables.c
parent0e9480b864a16400fc3572719b05f01f300026ab (diff)
Fixes typos in the argument of ip[6]tables_insmod: quit -> quiet
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iptables.c b/iptables.c
index c74bc101..dee695f5 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);
}