]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: set error if DAD is not finished
authorLuyao Huang <lhuang@redhat.com>
Thu, 29 Oct 2015 09:47:33 +0000 (17:47 +0800)
committerLaine Stump <laine@laine.org>
Thu, 29 Oct 2015 18:19:56 +0000 (14:19 -0400)
commitd41a64a1948c88ccec5b4cff34fd04d3aae7a71e
tree9872d32e51a24bc0d09ffa7d90d2f92413228df3
parent7c8250d76561e83adf96b8e167f6932132252744
util: set error if DAD is not finished

If DAD not finished in 5 seconds, user will get an
unknown error like this:

 # virsh net-start ipv6
 error: Failed to start network ipv6
 error: An error occurred, but the cause is unknown

Call virReportError to set an error.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/util/virnetdev.c