From: Jeffrey Altman Date: Mon, 28 Jan 2008 19:51:20 +0000 (+0000) Subject: DEVEL15-windows-network-type-allocation-20080128 X-Git-Tag: openafs-devel-1_5_31~60 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=07ad5f5393835b371b28e09d0671bcdfd4872bd9;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-network-type-allocation-20080128 LICENSE MIT Microsoft has defined for us: #define WNNC_NET_OPENAFS 0x00390000 (cherry picked from commit fffcc1dec3d4fc905239b2890cb4f960efdff4ba) --- diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index f92f78831..5a74a35ad 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -29,6 +29,11 @@ #include "afskfw.h" #include "lanahelper.h" +/* Allocated in Windows Driver Kit */ +#ifndef WNNC_NET_OPENAFS +#define WNNC_NET_OPENAFS 0x00390000 +#endif + #include DWORD TraceOption = 0; @@ -217,7 +222,7 @@ DWORD APIENTRY NPGetCaps(DWORD index) switch (index) { case WNNC_NET_TYPE: /* Don't have our own type; use somebody else's. */ - return WNNC_NET_SUN_PC_NFS; + return WNNC_NET_OPENAFS; case WNNC_START: /* Say we are already started, even though we might wait after we receive NPLogonNotify */