]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: make networkLogAllocation independent of domain conf
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 3 Sep 2018 13:04:57 +0000 (14:04 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 17 Jun 2019 14:19:54 +0000 (15:19 +0100)
commit19f9a864ba6044bfd38e71cc96e5abe02156a876
treea797af6d2c9804d13af210c28d66b804ff10be9e
parent4b4a981d60d3372fb73bb3546ab1052844b2e3d5
network: make networkLogAllocation independent of domain conf

Stop passing a virDomainNetDefPtr parameter to networkLogAllocation,
instead just pass in the MAC address. The actual device type is also not
required, since virNetworkForwardIfDefPtr has a type field that can be
used instead.

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/network/bridge_driver.c