mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
network: assume DNSMASQ_CAPS_RA_PARAM
Introduced by dnsmasq commit: commit c4cd95df68b573b63d234ecdb675228657d65353 Author: Simon Kelley <simon@thekelleys.org.uk> CommitDate: 2013-10-10 20:58:11 +0100 Add --ra-param and remove --force-fast-ra git describe: v2.67rc3-3-gc4cd95d contains: v2.67rc4~12 Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
0927510d7f
commit
c8e45725f9
@ -1197,10 +1197,8 @@ networkDnsmasqConfContents(virNetworkObj *obj,
|
||||
if (def->forward.type == VIR_NETWORK_FORWARD_NONE) {
|
||||
virBufferAddLit(&configbuf, "dhcp-option=3\n"
|
||||
"no-resolv\n");
|
||||
if (dnsmasqCapsGet(caps, DNSMASQ_CAPS_RA_PARAM)) {
|
||||
/* interface=* (any), interval=0 (default), lifetime=0 (seconds) */
|
||||
virBufferAddLit(&configbuf, "ra-param=*,0,0\n");
|
||||
}
|
||||
/* interface=* (any), interval=0 (default), lifetime=0 (seconds) */
|
||||
virBufferAddLit(&configbuf, "ra-param=*,0,0\n");
|
||||
}
|
||||
|
||||
if (wantDNS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user