]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: report the MAC address that couldn't be set
authorLaine Stump <laine@laine.org>
Fri, 18 Dec 2015 17:08:54 +0000 (12:08 -0500)
committerLaine Stump <laine@laine.org>
Mon, 4 Jan 2016 19:46:39 +0000 (14:46 -0500)
commit5ffa236bb403be5d6746dcc1318d7f78e6a2e22b
tree55cf46ff5a6799f68d9151af41df1ca2e4e5e2de
parent688623b5b035cc0ce736a2e39329b47b36855636
util: report the MAC address that couldn't be set

I noticed in a log file that we had failed to set a MAC address. The
log said which interface we were trying to set, but didn't give the
offending MAC address, which could have been useful in determining the
source of the problem. This patch modifies all three places in the
code that set MAC addresses to report the failed MAC as well as
interface.
src/util/virnetdev.c