Changeset 2561 in vbox
- Timestamp:
- May 9, 2007 3:39:16 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r2540 r2561 5733 5733 Log(("Failed to start the TAP interface setup script %s, error text: %s\n", 5734 5734 szCommand, strerror(iErr))); 5735 LogRel(("Failed to start the TAP interface setup script %s, error text: %s\n", 5736 szCommand, strerror(iErr))); 5735 5737 LogFlowThisFunc(("rc=E_FAIL\n")); 5736 5738 return setError(E_FAIL, tr ("Failed to run the host networking set up command %s: %s"), … … 5756 5758 pclose(pfScriptHandle); 5757 5759 Log(("The TAP interface setup script did not return the name of a TAP device.\n")); 5760 LogRel(("The TAP interface setup script did not return the name of a TAP device.\n")); 5758 5761 LogFlowThisFunc(("rc=E_FAIL\n")); 5759 5762 return setError(E_FAIL, tr ("The host networking set up command did not supply an interface name")); … … 5767 5770 { 5768 5771 Log(("The TAP interface setup script terminated abnormally.\n")); 5772 LogRel(("The TAP interface setup script terminated abnormally.\n")); 5769 5773 LogFlowThisFunc(("rc=E_FAIL\n")); 5770 5774 return setError(E_FAIL, tr ("The host networking set up command did not run correctly")); … … 5773 5777 { 5774 5778 Log(("The TAP interface setup script returned a non-zero exit code.\n")); 5779 LogRel(("The TAP interface setup script returned a non-zero exit code.\n")); 5775 5780 LogFlowThisFunc(("rc=E_FAIL\n")); 5776 5781 return setError(E_FAIL, tr ("The host networking set up command returned a non-zero exit code")); … … 5873 5878 { 5874 5879 Log(("Failed to open the host network interface %ls\n", tapDeviceName.raw())); 5880 LogRel(("Failed to open the host network interface %ls\n", tapDeviceName.raw())); 5875 5881 rc = setError(E_FAIL, tr ("Failed to open the host network interface %ls"), 5876 5882 tapDeviceName.raw()); … … 5885 5891 { 5886 5892 Log(("No setup application was supplied for the TAP interface.\n")); 5893 LogRel(("No setup application was supplied for the TAP interface.\n")); 5887 5894 rc = setError(E_FAIL, tr ("No setup application was supplied for the host networking interface")); 5888 5895 } … … 5908 5915 { 5909 5916 Log(("Failed to open the host network interface %ls returned by the setup script", tapDeviceName.raw())); 5917 LogRel(("Failed to open the host network interface %ls returned by the setup script", tapDeviceName.raw())); 5910 5918 rc = setError(E_FAIL, tr ("Failed to open the host network interface %ls returned by the setup script"), tapDeviceName.raw()); 5911 5919 } … … 5930 5938 else 5931 5939 { 5932 AssertMsgFailed(("Configuration error: Failed to configure /dev/net/tun non blocking. errno=%d\n", errno)); 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))); 5933 5942 rcVBox = VERR_HOSTIF_BLOCKING; 5934 5943 rc = setError(E_FAIL, tr ("could not set up the host networking device for non blocking access: %s"), … … 5940 5949 else 5941 5950 { 5942 AssertMsgFailed(("Configuration error: Failed to open /dev/net/tun rc=%Vrc\n", rcVBox)); 5951 Log(("Configuration error: Failed to open /dev/net/tun rc=%Vrc\n", rcVBox)); 5952 LogRel(("Configuration error: Failed to open /dev/net/tun rc=%Vrc\n", rcVBox)); 5943 5953 switch (rcVBox) 5944 5954 { … … 5963 5973 if (VBOX_FAILURE(rcVBox) && SUCCEEDED(rc)) 5964 5974 { 5975 Log(("General failure attaching to host interface\n")); 5976 LogRel(("General failure attaching to host interface\n")); 5965 5977 rc = setError(E_FAIL, tr ("General failure attaching to host interface")); 5966 5978 } … … 6039 6051 { 6040 6052 Log(("Failed to execute the clean up script for the TAP interface")); 6053 LogRel(("Failed to execute the clean up script for the TAP interface")); 6041 6054 rc = setError(E_FAIL, tr ("Failed to execute the clean up script for the TAP interface")); 6042 6055 } … … 6044 6057 { 6045 6058 Log(("The TAP interface clean up script terminated abnormally.\n")); 6059 LogRel(("The TAP interface clean up script terminated abnormally.\n")); 6046 6060 rc = setError(E_FAIL, tr ("The TAP interface clean up script terminated abnormally")); 6047 6061 } … … 6049 6063 { 6050 6064 Log(("The TAP interface clean up script returned a non-zero exit code.\n")); 6065 LogRel(("The TAP interface clean up script returned a non-zero exit code.\n")); 6051 6066 rc = setError(E_FAIL, tr ("The TAP interface clean up script returned a non-zero exit code")); 6052 6067 }
Note:
See TracChangeset
for help on using the changeset viewer.