summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2001-01-07 06:56:02 +0000
committerRusty Russell <rusty@rustcorp.com.au>2001-01-07 06:56:02 +0000
commita4d3e1fea254d63a2dd0e32bf6d70fa0f39159bc (patch)
tree6bce1b4a95ac9e0be61d995de7118a970c83f136
parentf7b062fad0a1cd7d89fa97a9074b3381671e8dc5 (diff)
Spelling fix and whitespace clean.
-rw-r--r--iptables.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/iptables.c b/iptables.c
index 2079b682..02c5c7af 100644
--- a/iptables.c
+++ b/iptables.c
@@ -386,7 +386,7 @@ exit_printhelp(void)
" --line-numbers print line numbers when listing\n"
" --exact -x expand numbers (display exact values)\n"
"[!] --fragment -f match second or further fragments only\n"
-" --modprobe=<command> try to insert modules using this commandx\n"
+" --modprobe=<command> try to insert modules using this command\n"
"[!] --version -V print package version.\n");
/* Print out any special helps. A user might like to be able
@@ -657,7 +657,7 @@ find_match(const char *name, enum ipt_tryload tryload)
name);
} else if (tryload == LOAD_MUST_SUCCEED)
exit_error(PARAMETER_PROBLEM,
- "Couldn't load match `%s':%s\n",
+ "Couldn't load match `%s':%s\n",
name, dlerror());
}
@@ -674,7 +674,7 @@ find_proto(const char *pname, enum ipt_tryload tryload, int nolookup)
int proto;
proto = string_to_number(pname, 0, 255);
- if (proto != -1)
+ if (proto != -1)
return find_match(proto_to_name(proto, nolookup), tryload);
return find_match(pname, tryload);
@@ -910,7 +910,7 @@ find_target(const char *name, enum ipt_tryload tryload)
name);
} else if (tryload == LOAD_MUST_SUCCEED)
exit_error(PARAMETER_PROBLEM,
- "Couldn't load target `%s':%s\n",
+ "Couldn't load target `%s':%s\n",
name, dlerror());
}
@@ -1331,7 +1331,7 @@ make_delete_mask(struct ipt_entry *fw)
mptr += IPT_ALIGN(sizeof(struct ipt_entry_match)) + m->size;
}
- memset(mptr, 0xFF,
+ memset(mptr, 0xFF,
IPT_ALIGN(sizeof(struct ipt_entry_target))
+ iptables_targets->userspacesize);
@@ -2120,7 +2120,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
if (!target) {
/* it is no chain, and we can't load a plugin.
* We cannot know if the plugin is corrupt, non
- * existant OR if the user just misspelled a
+ * existant OR if the user just misspelled a
* chain. */
find_target(jumpto, LOAD_MUST_SUCCEED);
} else {