]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: call proper start/stop functions for macvtap bridge-mode networks
authorLaine Stump <laine@laine.org>
Fri, 25 Mar 2016 17:17:28 +0000 (13:17 -0400)
committerLaine Stump <laine@laine.org>
Fri, 25 Mar 2016 17:28:34 +0000 (13:28 -0400)
commitb41261f0108fa098bc11920a0a8e0d3e10c44967
tree6967d1c06210ca90db8a6ed45061a6be0a7bbe95
parent2a537fe187fbca9d95816ffdd9db0327f70ae1be
network: call proper start/stop functions for macvtap bridge-mode networks

networkStartNetwork() and networkShutdownNetwork() were calling the
wrong type-specific function in the case of networks that were
configured for macvtap ("direct") bridge mode - they were instead
calling the functions for a tap+bridge network. Currently none of
these functions does anything (they just return 0) so it hasn't
created any problems, but that could change in the future.
src/network/bridge_driver.c