Revision ca2a1a42 src/vmm/LibVirtDriverKVM.cc

View differences:

src/vmm/LibVirtDriverKVM.cc
870 870
        script = nic[i]->vector_value("SCRIPT");
871 871
        model  = nic[i]->vector_value("MODEL");
872 872
        ip     = nic[i]->vector_value("IP");
873
        vrouter_ip = nic[i]->vector_value("VROUTER_IP");
874 873
        filter = nic[i]->vector_value("FILTER");
875 874

  
875
        vrouter_ip = nic[i]->vector_value("VROUTER_IP");
876

  
876 877
        i_avg_bw  = nic[i]->vector_value("INBOUND_AVG_BW");
877 878
        i_peak_bw = nic[i]->vector_value("INBOUND_PEAK_BW");
878 879
        i_peak_kb = nic[i]->vector_value("INBOUND_PEAK_KB");
......
959 960
                         << one_util::escape_xml_attr(*the_filter) << ">\n"
960 961
                     << "\t\t\t\t<parameter name='IP' value="
961 962
                         << one_util::escape_xml_attr(ip) << "/>\n";
963

  
962 964
                if ( !vrouter_ip.empty() )
963 965
                {
964 966
                    file << "\t\t\t\t<parameter name='IP' value="
965 967
                            << one_util::escape_xml_attr(vrouter_ip) << "/>\n";
966 968
                }
969

  
967 970
                file << "\t\t\t</filterref>\n";
968 971
            }
969 972
        }

Also available in: Unified diff