bozo: move more initialization code to functions
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 22 Jan 2015 03:44:32 +0000 (22:44 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 5 Sep 2015 20:04:39 +0000 (16:04 -0400)
commitab4b5557b8c10fb27ac2e63ffdece2fc78c027d8
treea808690ac33238beab2da4642907d4f0b7ab5982
parent0aee126cf20a4357d9ab1df08a8428ae9313e3b9
bozo: move more initialization code to functions

Move the code to create the initial "localcell" configuration and the
code to get the rx bind address out of main and into separate
functions.

Replace the global array of host addresses used to get the rx bind
address with a local variable.

Replace the call to rx_getAllAddr() with rx_getAllAddrMaskMtu(). The
former is not safe to call before rx_InitHost().

Initialize the cell info structure to zeros when creating the initial
"localcell" configuration.

Change-Id: I756aef86018d0cdd499afa58fdea99a7ac0d99df
Reviewed-on: http://gerrit.openafs.org/11690
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/bozo/bosserver.c