[libvirt] may be bug in my own commit?

14 Apr
2016
14 Apr
'16
9:13 a.m.
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;h=6... - 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@selfip.ru
3436
Age (days ago)
3436
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vasiliy Tolstov