VirtualBox

vbox的更動 62393 路徑 trunk/src/VBox/Main


忽略:
時間撮記:
2016-7-21 上午11:43:09 (8 年 以前)
作者:
vboxsync
訊息:

Main/Appliance: fix generation of new MAC addresses on import (for appliances created by VirtualBox only, for all others the API will do the MAC address generation when enabling the interface)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r62363 r62393  
    35393539              || (fKeepNATMACs && it1->mode == NetworkAttachmentType_NAT)
    35403540              || (fKeepNATMACs && it1->mode == NetworkAttachmentType_NATNetwork)))
    3541             Host::i_generateMACAddress(it1->strMACAddress);
     3541            /* Force generation of new MAC address below. */
     3542            it1->strMACAddress.setNull();
    35423543    }
    35433544    /* Now iterate over all network entries. */
     
    35673568                    {
    35683569                        it1->fEnabled = true;
     3570                        if (it1->strMACAddress.isEmpty())
     3571                            Host::i_generateMACAddress(it1->strMACAddress);
    35693572                        it1->type = (NetworkAdapterType_T)vsdeNW->strVBoxCurrent.toUInt32();
    35703573                        break;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette