mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
RPC: Allow HW address in remote_domain_interface struct to be NULL
Not all NICs (esp. the virtual ones like TUN) must have a hardware address. Teach our RPC that it's possible. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -3760,7 +3760,7 @@ typedef struct _virDomainInterface virDomainInterface;
|
||||
typedef virDomainInterface *virDomainInterfacePtr;
|
||||
struct _virDomainInterface {
|
||||
char *name; /* interface name */
|
||||
char *hwaddr; /* hardware address */
|
||||
char *hwaddr; /* hardware address, may be NULL */
|
||||
unsigned int naddrs; /* number of items in @addrs */
|
||||
virDomainIPAddressPtr addrs; /* array of IP addresses */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user