Windows: replace lana_OnlyLoopback() calls
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 4 Sep 2014 13:08:32 +0000 (09:08 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 24 Sep 2014 22:16:19 +0000 (18:16 -0400)
commitec1dcfbe29961fad23dec087c2d214be785a7816
tree0e9d2bf04190b452eb625c763c84fb796df1abfc
parent95c3db9c7ccb86c7ad384c06094c066107de262c
Windows: replace lana_OnlyLoopback() calls

lana_OnlyLoopback() relies upon Netbios over TCP being enabled but
Netbios over TCP is not officially supported on Vista and above.
Replace all lana_OnlyLoopback() calls with a test on the number of
network interfaces as computed by syscfg_GetIFInfo().   That list
excludes loopback interfaces.

Change-Id: I22d952f1487734ead02335108377bc404baa6024
Reviewed-on: http://gerrit.openafs.org/11444
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/afsd_flushvol.c
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/cm_scache.c