summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.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/netinet6/nd6.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/netinet6/nd6.c')
-rw-r--r--sys/netinet6/nd6.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index e02ceab..88fae3e 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -140,13 +140,13 @@ nd6_init(void)
/* initialization of the default router list */
TAILQ_INIT(&V_nd_defrouter);
-
- nd6_init_done = 1;
-
/* start timer */
callout_init(&V_nd6_slowtimo_ch, 0);
callout_reset(&V_nd6_slowtimo_ch, ND6_SLOWTIMER_INTERVAL * hz,
nd6_slowtimo, NULL);
+
+ nd6_init_done = 1;
+
}
struct nd_ifinfo *
@@ -1891,7 +1891,8 @@ nd6_slowtimo(void *ignored_arg)
callout_reset(&V_nd6_slowtimo_ch, ND6_SLOWTIMER_INTERVAL * hz,
nd6_slowtimo, NULL);
IFNET_RLOCK();
- for (ifp = TAILQ_FIRST(&V_ifnet); ifp; ifp = TAILQ_NEXT(ifp, if_list)) {
+ for (ifp = TAILQ_FIRST(&V_ifnet); ifp;
+ ifp = TAILQ_NEXT(ifp, if_list)) {
nd6if = ND_IFINFO(ifp);
if (nd6if->basereachable && /* already initialized */
(nd6if->recalctm -= ND6_SLOWTIMER_INTERVAL) <= 0) {
OpenPOWER on IntegriCloud