Allow NULL mac address in virGetInterface
There are places where an interface will not have a mac address, and netcf returns this as a NULL pointer rather than a pointer to an empty string. Rather than checking for this all over the place in libvirt, just save it in the virInterface object as an empty string. * src/datatypes.c: allow NULL mac in virGetInterface()
Showing
想要评论请 注册 或 登录