remove extra whitespace and blank lines
This commit is contained in:
parent
6979dcfc1f
commit
2bb3712f4e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user