[libvirt] [PATCH] bridge: check for invalid MAC in networkGetDHCPLeases

Pavel Hrdina phrdina at redhat.com
Thu Dec 3 11:33:29 UTC 2015


On Thu, Dec 03, 2015 at 11:03:49AM +0100, Ján Tomko wrote:
> Instead of comparing garbage strings against real MAC addresses,
> introduce an error mesage for unparsable ones:
> 
> $ virsh net-dhcp-leases default  --mac t12
> error: Failed to get leases info for default
> error: invalid MAC address: t12
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1261432
> ---
>  src/network/bridge_driver.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

ACK and safe for release.

Pavel




More information about the libvir-list mailing list