> +static int qemuDomainFindNetByName(virDomainDefPtr vmdef, > + const unsigned char *mac) > +{ > + virDomainNetDefPtr net; > + int i; > + > + for (i = 0; i < vmdef->nnets; i++) { > + net = vmdef->nets[i]; > + /* For now, only MAC can be the key */ > + if (!strcmp((char*)net->mac, (char*)mac)) ack with STREQ and email address fixed. -- Thanks, Hu Tao -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list