[libvirt] [libvirt-sandbox][PATCH] Avoid segfault if broadcast address is NULL

2013-03-14 Thread Alex Jia
It seems the broadcast address parameter is not optional now, if users haven't specified the broadcast address to the network interface then a segfault will be raised. This patch is just a temporary solution to avoid segfault, and with the patch, users will get a expected error Unable to parse

Re: [libvirt] [libvirt-sandbox][PATCH] Avoid segfault if broadcast address is NULL

2013-03-14 Thread Daniel P. Berrange
On Thu, Mar 14, 2013 at 07:00:43PM +0800, Alex Jia wrote: It seems the broadcast address parameter is not optional now, if users haven't specified the broadcast address to the network interface then a segfault will be raised. This patch is just a temporary solution to avoid segfault, and

Re: [libvirt] [libvirt-sandbox][PATCH] Avoid segfault if broadcast address is NULL

2013-03-14 Thread Alex Jia
On 03/14/2013 07:16 PM, Daniel P. Berrange wrote: On Thu, Mar 14, 2013 at 07:00:43PM +0800, Alex Jia wrote: It seems the broadcast address parameter is not optional now, if users haven't specified the broadcast address to the network interface then a segfault will be raised. This patch is just