]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt-domain: Fix documentation of virDomainInterfaceAddresses()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Jan 2026 15:15:14 +0000 (16:15 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Jan 2026 16:29:36 +0000 (17:29 +0100)
commit3a10f435b75400a3c83feb8b8c27250d5665fc40
treeb9c3e58c5f963e446ccdd60c202b32e7a18a003d
parent6f07a8e6fccecf0218470d95d96de1554a90542d
libvirt-domain: Fix documentation of virDomainInterfaceAddresses()

Ever since of v1.2.14-rc1~105 the hwaddr member of
_virDomainInterface struct can be NULL. And this is documented
inside the struct. But then the public API documents it can never
be NULL which is obviously wrong. Fix the public API
documentation.

Fixes: 3640245db7d72bf8e05df726587625a6328c895e
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt-domain.c