提交 98518178 编写于 作者: O Osier Yang 提交者: Eric Blake

daemon: Fix the wrong macro name

WITH_INTERFACE is not defined, it should be WITH_NETCF there to load
the interface driver.

Eric posted patch weeks ago to resolve the problems in the whole
build system, but it's not finalised yet:

https://www.redhat.com/archives/libvir-list/2012-June/msg01299.html

I'm going to simply fix the wrong macro name here so that the
interface driver could loaded, and continue the work on the listing
API for interface driver.
上级 d9bbf217
......@@ -378,7 +378,7 @@ static void daemonInitialize(void)
# ifdef WITH_NWFILTER
virDriverLoadModule("nwfilter");
# endif
# ifdef WITH_INTERFACE
# ifdef WITH_NETCF
virDriverLoadModule("interface");
# endif
# ifdef WITH_QEMU
......
......@@ -79,7 +79,7 @@ mymain(void)
#ifdef WITH_NWFILTER
TEST("nwfilter", NULL);
#endif
#ifdef WITH_INTERFACE
#ifdef WITH_NETCF
TEST("interface", NULL);
#endif
#ifdef WITH_QEMU
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册