mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
couple of minor fixes.
svn path=/trunk/; revision=23760
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
|
||||
@@ -443,7 +443,7 @@ VOID ShowInfo(BOOL bAll)
|
||||
|
||||
if (bAll)
|
||||
{
|
||||
_tprintf(_T("\tDescription . . . . . . . . . . . : %s\n"), GetConnectionDescription(pAdapter->AdapterName)); /// here !!
|
||||
_tprintf(_T("\tDescription . . . . . . . . . . . : %s\n"), GetConnectionDescription(pAdapter->AdapterName));
|
||||
_tprintf(_T("\tPhysical Address. . . . . . . . . : %s\n"), PrintMacAddr(pAdapter->Address));
|
||||
if (pAdapter->DhcpEnabled)
|
||||
_tprintf(_T("\tDHCP Enabled. . . . . . . . . . . : Yes\n"));
|
||||
@@ -497,6 +497,7 @@ VOID ShowInfo(BOOL bAll)
|
||||
VOID Release(LPTSTR Index)
|
||||
{
|
||||
IP_ADAPTER_INDEX_MAP AdapterInfo;
|
||||
DWORD ret;
|
||||
|
||||
/* if interface is not given, query GetInterfaceInfo */
|
||||
if (Index == NULL)
|
||||
@@ -541,10 +542,10 @@ VOID Release(LPTSTR Index)
|
||||
|
||||
|
||||
/* Call IpReleaseAddress to release the IP address on the specified adapter. */
|
||||
if (IpReleaseAddress(&AdapterInfo) != NO_ERROR)
|
||||
if (ret = IpReleaseAddress(&AdapterInfo) != NO_ERROR)
|
||||
{
|
||||
_tprintf(_T("\nAn error occured while releasing interface %S : \n"), AdapterInfo.Name);
|
||||
DoFormatMessage(0);
|
||||
DoFormatMessage(ret);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "IP Configuration utility\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "ipconfig\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "ipconfig.exe\0"
|
||||
#define REACTOS_STR_ORIGINAL_COPYRIGHT "Ged Murphy <[email protected]\0"
|
||||
#define REACTOS_STR_ORIGINAL_COPYRIGHT "Ged Murphy <[email protected]>\0"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
#include "En.rc"
|
||||
|
||||
Reference in New Issue
Block a user