ubik: Initialize ubik_callPortal earlier
authorAndrew Deason <adeason@sinenomine.net>
Fri, 4 May 2012 22:13:32 +0000 (17:13 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sat, 5 May 2012 00:30:32 +0000 (17:30 -0700)
commit4cdb94dbc4f7cfc13c9f3e07929adcd96b3df1c8
treebe4418282638d552a832a4184e82e848cd1614b5
parentf76cf9a3fb30b8c89c91ca10eaff8308cab9630a
ubik: Initialize ubik_callPortal earlier

As of 7caf4143, we call ubeacon_InitServerList* before ubik_callPortal
is set, causing Rx connections to be created to port 0, causing
various problems with communicating with other sites. Initialize
ubik_callPortal to the correct value before calling any such
functions, so we create connections to the right port.

Change-Id: I37dbf575bcdec10463c7b6006738678096a92573
Reviewed-on: http://gerrit.openafs.org/7349
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/ubik/ubik.c