opennebula-attachnic-enforce-network.patch

Got bug # reference wrong in commit message of the first patch - Simon Boulet, 05/15/2013 12:58 AM

Download (880 Bytes)

View differences:

src/vm/VirtualMachine.cc
1922 1922

  
1923 1923
    int rc = vnpool->nic_attribute(new_nic, max_nic_id+1, uid, vm_id, error_str);
1924 1924

  
1925
    if ( rc == -1 ) //-2 is not using a pre-defined network
1925
    if ( rc != 0 )
1926 1926
    {
1927 1927
        delete new_nic;
1928 1928
        return 0;
1929
-