]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use virMacAddrFormat instead of manual mac address formatting
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Mar 2013 11:21:33 +0000 (12:21 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2013 13:53:43 +0000 (15:53 +0200)
commit6bd94a1b59bb06ca9e3b9c831d866f1ad0d4b375
tree275b70308c6725a1f3c77f0bad481ca51b09ff7d
parentab4bf20ead2aa21f417764ab39f68b56ba4dd8a8
Use virMacAddrFormat instead of manual mac address formatting

Format the address using the helper instead of having similar code in
multiple places.

This patch also fixes leak of the MAC address string in
ebtablesRemoveForwardAllowIn() and ebtablesAddForwardAllowIn() in
src/util/virebtables.c
src/conf/domain_conf.c
src/qemu/qemu_command.c
src/uml/uml_conf.c
src/util/virebtables.c
src/util/virnetdevmacvlan.c
src/util/virnetdevtap.c
src/xen/xend_internal.c
src/xenxs/xen_sxpr.c
src/xenxs/xen_xm.c