mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-11 05:24:44 -05:00
virdnsmasq: Don't run 'dnsmasq --help'
We don't query any capabilities of dnsmasq. We are only interested in dnsmasq's version (obtained via 'dnsmasq --version'). Therefore, there's no point in running 'dnsmasq --help'. Its output is not processed even. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
@@ -114,7 +114,7 @@ mymain(void)
|
||||
int ret = 0;
|
||||
g_autoptr(dnsmasqCaps) full = NULL;
|
||||
|
||||
full = dnsmasqCapsNewFromBuffer("Dnsmasq version 2.67\n--bind-dynamic\n--ra-param");
|
||||
full = dnsmasqCapsNewFromBuffer("Dnsmasq version 2.67");
|
||||
|
||||
#define DO_TEST(xname, xcaps) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user