]> xenbits.xensource.com Git - libvirt.git/commit
Network: modify dnsmasq commandline build function to allow testing
authorMichal Novotny <minovotn@redhat.com>
Fri, 24 Jun 2011 10:04:38 +0000 (12:04 +0200)
committerLaine Stump <laine@laine.org>
Fri, 24 Jun 2011 20:15:17 +0000 (16:15 -0400)
commit89ae9849f7443b6842c9e60a4269df966b1204ed
tree525cea108d06a2018da3f7be2b29d2a49e0a0479
parent5dd986dbd7ff0bdae0b572bafde16b4b94237ff8
Network: modify dnsmasq commandline build function to allow testing

The dnsmasq commandline was being built as a part of running
dnsmasq. This patch puts the commandline build into a separate
function (and exports it as a private API) making it possible to build
a dnsmasq commandline without executing it, so that we can write a
test program to verify that the proper commandlines are being created.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
src/Makefile.am
src/libvirt_network.syms [new file with mode: 0644]
src/network/bridge_driver.c
src/network/bridge_driver.h