Hi. I'm try to backport some my changes to centos libvirt (1.2.17),
and see that may be i miss IFA_ADDRESS when peerData is null, can
somebody recheck me?
https://libvirt.org/git/?p=libvirt.git;a=blobdiff;f=src/util/virnetdev.c;...
- if (nla_put(nlmsg, IFA_ADDRESS, addrDataLen, addrData) < 0)
- goto buffer_too_small;
+ if (peerData) {
+ if (nla_put(nlmsg, IFA_ADDRESS, addrDataLen, peerData) < 0)
+ goto buffer_too_small;
+ }
This misses else i think..
--
Vasiliy Tolstov,
e-mail: v.tolstov(a)selfip.ru