Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp	(revision 42255)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp	(revision 42256)
@@ -217,5 +217,5 @@
     }
 
-    /* Validate MAC-address: */
+    /* Validate MAC-address length: */
     if (m_pMACEditor->text().size() < 12)
     {
@@ -223,10 +223,12 @@
         fValid = false;
     }
-    else
-    {
-        QRegExp validator("[0-9A-Fa-f][02468ACEace][0-9A-Fa-f]{10}");
-        if (!validator.exactMatch(m_pMACEditor->text()))
-        {
-            strWarning = tr("the second digit cannot be odd, as only unicast MAC addresses allowed.");
+    /* Make sure MAC-address is unicast: */
+    if (m_pMACEditor->text().size() >= 2)
+    {
+        QRegExp validator("^[0-9A-Fa-f][02468ACEace]");
+        if (validator.indexIn(m_pMACEditor->text()) != 0)
+        {
+            strWarning = tr("the second digit in the MAC Address field cannot be odd, "
+                            "as only unicast addresses are allowed.");
             fValid = false;
         }
