Add sufficient permission to the TCP handle to configure the IP address.

svn path=/trunk/; revision=14646
This commit is contained in:
Art Yerkes 2005-04-17 08:00:01 +00:00
parent 4c0e95ce09
commit 99bd564c01

View file

@ -77,7 +77,8 @@ NTSTATUS openTcpFile(PHANDLE tcpFile) {
NULL );
status = ZwCreateFile( tcpFile,
SYNCHRONIZE | GENERIC_EXECUTE,
SYNCHRONIZE | GENERIC_EXECUTE |
GENERIC_READ | GENERIC_WRITE,
&objectAttributes,
&ioStatusBlock,
NULL,