summaryrefslogtreecommitdiffstats
path: root/ip6tables.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 /ip6tables.c
parent0e9480b864a16400fc3572719b05f01f300026ab (diff)
Fixes typos in the argument of ip[6]tables_insmod: quit -> quiet
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 5cd74176..d2314b77 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -1751,7 +1751,7 @@ static char *get_modprobe(void)
return NULL;
}
-int ip6tables_insmod(const char *modname, const char *modprobe, int quit)
+int ip6tables_insmod(const char *modname, const char *modprobe, int quiet)
{
char *buf = NULL;
char *argv[4];
@@ -1769,7 +1769,7 @@ int ip6tables_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 {
@@ -1793,13 +1793,13 @@ int ip6tables_insmod(const char *modname, const char *modprobe, int quit)
return -1;
}
-int load_ip6tables_ko(const char *modprobe, int quit)
+int load_ip6tables_ko(const char *modprobe, int quiet)
{
static int loaded = 0;
static int ret = -1;
if (!loaded) {
- ret = ip6tables_insmod("ip6_tables", modprobe, quit);
+ ret = ip6tables_insmod("ip6_tables", modprobe, quiet);
loaded = (ret == 0);
}