[libvirt] [PATCH 2/2] virnetlink: Provide virNetlinkGetNeighbor non-Linux stub
Michal Privoznik
mprivozn at redhat.com
Fri Mar 16 07:56:25 UTC 2018
This function is exported and therefore we have to have
implementation for all platforms.
Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
src/util/virnetlink.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
index f0a92db234..0e281b06b8 100644
--- a/src/util/virnetlink.c
+++ b/src/util/virnetlink.c
@@ -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
--
2.16.1
More information about the libvir-list
mailing list