]> git.michaelhowe.org Git - packages/o/openafs.git/commit
sin_family is not network order
authorChas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Sun, 3 Oct 2010 18:35:46 +0000 (14:35 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 25 Oct 2010 21:45:36 +0000 (14:45 -0700)
commite567a29f920ede89003b16e21bd739f9648683bc
tree434883d6de508083f9a32bb46c64060353aec051
parent2b8a90ad216330e23ce87d8062a56e65f63124e6
sin_family is not network order

sin_family isnt sent over the network and therefore doesnt need
htons().  sin_family is essential the same as domain, and no one
does socket(htons(AF_INET), ...)

Reviewed-on: http://gerrit.openafs.org/2891
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 60c4b248893f80431b2ea2a5d558c3536f86611a)
Change-Id: If507801c8df170a88044ff9c87b9a97c076ca222
Reviewed-on: http://gerrit.openafs.org/3045
src/afsmonitor/afsmonitor.c
src/fsprobe/fsprobe_test.c
src/scout/scout.c
src/xstat/xstat_cm_test.c
src/xstat/xstat_fs_test.c