Changeset 2563 in vbox
- Timestamp:
- May 9, 2007 3:46:16 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21029
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r2561 r2563 5731 5731 { 5732 5732 int iErr = errno; 5733 Log(("Failed to start the TAP interface setup script %s, error text: %s\n",5734 szCommand, strerror(iErr)));5735 5733 LogRel(("Failed to start the TAP interface setup script %s, error text: %s\n", 5736 5734 szCommand, strerror(iErr))); … … 5757 5755 { 5758 5756 pclose(pfScriptHandle); 5759 Log(("The TAP interface setup script did not return the name of a TAP device.\n"));5760 5757 LogRel(("The TAP interface setup script did not return the name of a TAP device.\n")); 5761 5758 LogFlowThisFunc(("rc=E_FAIL\n")); … … 5769 5766 if (!WIFEXITED(rc)) 5770 5767 { 5771 Log(("The TAP interface setup script terminated abnormally.\n"));5772 5768 LogRel(("The TAP interface setup script terminated abnormally.\n")); 5773 5769 LogFlowThisFunc(("rc=E_FAIL\n")); … … 5776 5772 if (WEXITSTATUS(rc) != 0) 5777 5773 { 5778 Log(("The TAP interface setup script returned a non-zero exit code.\n"));5779 5774 LogRel(("The TAP interface setup script returned a non-zero exit code.\n")); 5780 5775 LogFlowThisFunc(("rc=E_FAIL\n")); … … 5877 5872 if (rcVBox != 0) 5878 5873 { 5879 Log(("Failed to open the host network interface %ls\n", tapDeviceName.raw()));5880 5874 LogRel(("Failed to open the host network interface %ls\n", tapDeviceName.raw())); 5881 5875 rc = setError(E_FAIL, tr ("Failed to open the host network interface %ls"), … … 5890 5884 if (tapDeviceName.isEmpty()) 5891 5885 { 5892 Log(("No setup application was supplied for the TAP interface.\n"));5893 5886 LogRel(("No setup application was supplied for the TAP interface.\n")); 5894 5887 rc = setError(E_FAIL, tr ("No setup application was supplied for the host networking interface")); … … 5914 5907 if (rcVBox != 0) 5915 5908 { 5916 Log(("Failed to open the host network interface %ls returned by the setup script", tapDeviceName.raw()));5917 5909 LogRel(("Failed to open the host network interface %ls returned by the setup script", tapDeviceName.raw())); 5918 5910 rc = setError(E_FAIL, tr ("Failed to open the host network interface %ls returned by the setup script"), tapDeviceName.raw()); … … 5938 5930 else 5939 5931 { 5940 Log(("Configuration error: Failed to configure /dev/net/tun non blocking. Error: %s\n", strerror(errno))); 5941 LogRel(("Configuration error: Failed to configure /dev/net/tun non blocking. Error: %s\n", strerror(errno))); 5932 int iErr = errno; 5933 5934 LogRel(("Configuration error: Failed to configure /dev/net/tun non blocking. Error: %s\n", strerror(iErr))); 5942 5935 rcVBox = VERR_HOSTIF_BLOCKING; 5943 5936 rc = setError(E_FAIL, tr ("could not set up the host networking device for non blocking access: %s"), … … 5949 5942 else 5950 5943 { 5951 Log(("Configuration error: Failed to open /dev/net/tun rc=%Vrc\n", rcVBox));5952 5944 LogRel(("Configuration error: Failed to open /dev/net/tun rc=%Vrc\n", rcVBox)); 5953 5945 switch (rcVBox) … … 5973 5965 if (VBOX_FAILURE(rcVBox) && SUCCEEDED(rc)) 5974 5966 { 5975 Log(("General failure attaching to host interface\n"));5976 5967 LogRel(("General failure attaching to host interface\n")); 5977 5968 rc = setError(E_FAIL, tr ("General failure attaching to host interface")); … … 6050 6041 if (rcCommand == -1) 6051 6042 { 6052 Log(("Failed to execute the clean up script for the TAP interface"));6053 6043 LogRel(("Failed to execute the clean up script for the TAP interface")); 6054 6044 rc = setError(E_FAIL, tr ("Failed to execute the clean up script for the TAP interface")); … … 6056 6046 if (!WIFEXITED(rc)) 6057 6047 { 6058 Log(("The TAP interface clean up script terminated abnormally.\n"));6059 6048 LogRel(("The TAP interface clean up script terminated abnormally.\n")); 6060 6049 rc = setError(E_FAIL, tr ("The TAP interface clean up script terminated abnormally")); … … 6062 6051 if (WEXITSTATUS(rc) != 0) 6063 6052 { 6064 Log(("The TAP interface clean up script returned a non-zero exit code.\n"));6065 6053 LogRel(("The TAP interface clean up script returned a non-zero exit code.\n")); 6066 6054 rc = setError(E_FAIL, tr ("The TAP interface clean up script returned a non-zero exit code"));
Note:
See TracChangeset
for help on using the changeset viewer.