Makefile fixes for release.
Whitespace cleanups.
diff --git a/iptables.c b/iptables.c
index e7110ea..eb772be 100644
--- a/iptables.c
+++ b/iptables.c
@@ -663,7 +663,7 @@
exit_error(PARAMETER_PROBLEM,
"interface name `%s' must be shorter than IFNAMSIZ"
" (%i)", arg, IFNAMSIZ-1);
-
+
strcpy(vianame, arg);
if (vialen == 0)
memset(mask, 0, IFNAMSIZ);
@@ -1285,11 +1285,11 @@
{
if (!chain)
return for_each_chain(flush_entries, verbose, handle);
-
- if (verbose)
- fprintf(stdout, "Flushing chain `%s'\n", chain);
- return iptc_flush_entries(chain, handle);
- }
+
+ if (verbose)
+ fprintf(stdout, "Flushing chain `%s'\n", chain);
+ return iptc_flush_entries(chain, handle);
+}
static int
zero_entries(const ipt_chainlabel chain, int verbose,
@@ -1297,7 +1297,7 @@
{
if (!chain)
return for_each_chain(zero_entries, verbose, handle);
-
+
if (verbose)
fprintf(stdout, "Zeroing chain `%s'\n", chain);
return iptc_zero_entries(chain, handle);
@@ -1320,7 +1320,7 @@
/* No user-defined chains? */
if (!i)
return ret;
-
+
/* Be careful iterating: it isn't safe during delete. */
/* Re-iterate after each delete successful */
while ((i = iptc_next_chain(last, handle)) != NULL) {
@@ -1867,9 +1867,9 @@
target->init(target->t, &fw.nfcache);
}
- if (!target) {
+ if (!target) {
struct ipt_entry_target unknown_target;
-
+
/* Don't know it. Must be extension with no
options? */
unknown_target.target_size = sizeof(unknown_target);