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.
This commit is contained in:
Osier Yang 2012-07-20 22:25:17 +08:00 committed by Eric Blake
parent d9bbf217b1
commit 98518178a2
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ static void daemonInitialize(void)
# ifdef WITH_NWFILTER # ifdef WITH_NWFILTER
virDriverLoadModule("nwfilter"); virDriverLoadModule("nwfilter");
# endif # endif
# ifdef WITH_INTERFACE # ifdef WITH_NETCF
virDriverLoadModule("interface"); virDriverLoadModule("interface");
# endif # endif
# ifdef WITH_QEMU # ifdef WITH_QEMU

View File

@ -79,7 +79,7 @@ mymain(void)
#ifdef WITH_NWFILTER #ifdef WITH_NWFILTER
TEST("nwfilter", NULL); TEST("nwfilter", NULL);
#endif #endif
#ifdef WITH_INTERFACE #ifdef WITH_NETCF
TEST("interface", NULL); TEST("interface", NULL);
#endif #endif
#ifdef WITH_QEMU #ifdef WITH_QEMU