vldb_check: do not ntohl u_chars
authorAndrew Deason <adeason@sinenomine.net>
Tue, 9 Mar 2010 17:43:42 +0000 (11:43 -0600)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Mar 2010 20:11:21 +0000 (12:11 -0800)
commit97b69af9255d2aca0f858588cc957c05690e387e
tree15a29ff5cb5f3e0cd2daec125e124f8484eaf145
parent861cdf82de9f7fbaa28e87c5f26e97ddc30f3f9a
vldb_check: do not ntohl u_chars

vldb_check was ntohl'ing fields like serverNumber when reading in a VL
entry. Since this is a u_char, ntohl'ing will just always result in 0,
not the actual value. Remove the ntohls so we read in VL data correctly.

FIXES 126661

Change-Id: If5117e1750d6dacd9bbe18bc936e0a1ba3d44340
Reviewed-on: http://gerrit.openafs.org/1548
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vlserver/vldb_check.c