Add sufficient permission to the TCP handle to configure the IP address.
authorArt Yerkes <art.yerkes@gmail.com>
Sun, 17 Apr 2005 08:00:01 +0000 (08:00 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sun, 17 Apr 2005 08:00:01 +0000 (08:00 +0000)
svn path=/trunk/; revision=14646

reactos/lib/iphlpapi/ifenum_reactos.c

index 073983d..9b4e705 100644 (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,