one-1.3.90-model.patch

Jeroen Nijhof, 11/26/2009 09:09 PM

Download (741 Bytes)

View differences:

one-1.3.90/src/vm/VirtualMachine.cc 2009-11-26 13:32:29.000000000 +0100
634 634
    string                     mac;
635 635
    string                     bridge;
636 636
    string                     network;
637
    string                     model;
637 638

  
638 639
    ostringstream              vnid;
639 640

  
......
703 704
        new_nic.insert(make_pair("VNID"   ,vnid.str()));
704 705
        new_nic.insert(make_pair("IP"     ,ip));
705 706

  
707
        model = nic->vector_value("MODEL");
708
        if ( !model.empty() )
709
        {
710
		new_nic.insert(make_pair("MODEL",model));
711
        }
712

  
706 713
        nic->replace(new_nic);
707 714

  
708 715
        new_nic.erase(new_nic.begin(),new_nic.end());