mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 18:03:50 +03:00
virnetlink: Provide virNetlinkGetNeighbor non-Linux stub
This function is exported and therefore we have to have implementation for all platforms. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
9304d916a3
commit
72d3301db1
@ -1207,6 +1207,17 @@ virNetlinkDelLink(const char *ifname ATTRIBUTE_UNUSED,
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virNetlinkGetNeighbor(void **nlData ATTRIBUTE_UNUSED,
|
||||
uint32_t src_pid ATTRIBUTE_UNUSED,
|
||||
uint32_t dst_pid ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* stopNetlinkEventServer: stop the monitor to receive netlink
|
||||
* messages for libvirtd
|
||||
|
Loading…
x
Reference in New Issue
Block a user