mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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;
|
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
|
* stopNetlinkEventServer: stop the monitor to receive netlink
|
||||||
* messages for libvirtd
|
* messages for libvirtd
|
||||||
|
Loading…
Reference in New Issue
Block a user