summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-08-20 01:05:56 +0000
committerjulian <julian@FreeBSD.org>2008-08-20 01:05:56 +0000
commit0592958505e144fa8a1cdff63ecc2e605ac5e407 (patch)
tree1a19e6226789a77aca65db762eda0fb078daa7e5 /sys/netinet/ip_fw2.c
parente808f0ec7052dba8316366ce3f9ae8f001c34252 (diff)
downloadFreeBSD-src-0592958505e144fa8a1cdff63ecc2e605ac5e407.zip
FreeBSD-src-0592958505e144fa8a1cdff63ecc2e605ac5e407.tar.gz
A bunch of formatting fixes brough to light by, or created by the Vimage commit
a few days ago.
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 7cfe653..f58899a 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -4090,11 +4090,12 @@ ipfw_getrules(struct ip_fw_chain *chain, void *buf, size_t space)
if (bp + i <= ep) {
bcopy(rule, bp, i);
/*
- * XXX HACK. Store the disable mask in the "next" pointer
- * in a wild attempt to keep the ABI the same.
+ * XXX HACK. Store the disable mask in the "next"
+ * pointer in a wild attempt to keep the ABI the same.
* Why do we do this on EVERY rule?
*/
- bcopy(&V_set_disable, &(((struct ip_fw *)bp)->next_rule),
+ bcopy(&V_set_disable,
+ &(((struct ip_fw *)bp)->next_rule),
sizeof(V_set_disable));
if (((struct ip_fw *)bp)->timestamp)
((struct ip_fw *)bp)->timestamp += boot_seconds;
@@ -4483,7 +4484,8 @@ ipfw_tick(void * __unused unused)
ip_output(m, NULL, NULL, 0, NULL, NULL);
}
done:
- callout_reset(&V_ipfw_timeout, V_dyn_keepalive_period*hz, ipfw_tick, NULL);
+ callout_reset(&V_ipfw_timeout, V_dyn_keepalive_period * hz,
+ ipfw_tick, NULL);
}
int
OpenPOWER on IntegriCloud