From: Scott D. Williams Date: Tue, 10 Dec 2002 16:39:47 +0000 (+0000) Subject: windows-loopback-adapter-support-20021126 X-Git-Tag: openafs-devel-1_3_50~468 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fd856437c88b3a4f3954db1bf06f20ad67e77b44;p=packages%2Fo%2Fopenafs.git windows-loopback-adapter-support-20021126 try to bind to loopback on windows --- diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index 21aac83ff..f740e00b5 100644 --- a/src/WINNT/afsd/smb.c +++ b/src/WINNT/afsd/smb.c @@ -6059,6 +6059,22 @@ void smb_NetbiosInit() int len; int lana_found = 0; + /*******************************************************************/ + /* ms loopback adapter scan */ + /*******************************************************************/ + struct + { + ADAPTER_STATUS status; + NAME_BUFFER NameBuff [30]; + } Adapter; + + int j; + BOOL wla_found; + + /* AFAIK, this is the default for the ms loopback adapter.*/ + unsigned char kWLA_MAC[6] = { 0x02, 0x00, 0x4c, 0x4f, 0x4f, 0x50 }; + /*******************************************************************/ + /* setup the NCB system */ ncbp = GetNCB(); #ifdef DJGPP