summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2003-06-27 17:18:14 +0000
committerluigi <luigi@FreeBSD.org>2003-06-27 17:18:14 +0000
commit131318184e9eceae71726ef73aef6d437338ac47 (patch)
tree232c9512c75c159b3a9855618d587a92ce1a30e2 /sbin/ipfw
parentb5c028f73ce9dd143a09a6180b3523bac7b1f9b1 (diff)
downloadFreeBSD-src-131318184e9eceae71726ef73aef6d437338ac47.zip
FreeBSD-src-131318184e9eceae71726ef73aef6d437338ac47.tar.gz
remove extra whitespace and blank lines
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 056e62b..cef3752 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -1225,7 +1225,7 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
case O_VERREVPATH:
printf(" verrevpath");
break;
-
+
case O_KEEP_STATE:
printf(" keep-state");
break;
@@ -1277,9 +1277,7 @@ show_dyn_ipfw(ipfw_dyn_rule *d, int pcwidth, int bcwidth)
if (!d->expire && !(d->dyn_type == O_LIMIT_PARENT))
return;
}
-
bcopy(&d->rule, &rulenum, sizeof(rulenum));
-
printf("%05d %*llu %*llu (%ds)", rulenum, pcwidth,
align_uint64(&d->pcnt), bcwidth,
align_uint64(&d->bcnt), d->expire);
@@ -1519,7 +1517,6 @@ sets_handler(int ac, char *av[])
bcopy(&((struct ip_fw *)data)->next_rule,
&set_disable, sizeof(set_disable));
-
for (i = 0, msg = "disable" ; i < 31; i++)
if ( (set_disable & (1<<i))) {
printf("%s %d", msg, i);
@@ -3272,7 +3269,7 @@ read_options:
case TOK_VERREVPATH:
fill_cmd(cmd, O_VERREVPATH, 0, 0);
break;
-
+
default:
errx(EX_USAGE, "unrecognised option [%d] %s\n", i, s);
}
OpenPOWER on IntegriCloud