diff options
author | julian <julian@FreeBSD.org> | 2008-08-20 01:05:56 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2008-08-20 01:05:56 +0000 |
commit | 0592958505e144fa8a1cdff63ecc2e605ac5e407 (patch) | |
tree | 1a19e6226789a77aca65db762eda0fb078daa7e5 /sys/netinet6/nd6.c | |
parent | e808f0ec7052dba8316366ce3f9ae8f001c34252 (diff) | |
download | FreeBSD-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.c | 9 |
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) { |