]> xenbits.xensource.com Git - libvirt.git/commit
bridge: Add --dhcp-no-override option to dnsmasq
authorJiri Denemark <jdenemar@redhat.com>
Wed, 11 Aug 2010 18:25:09 +0000 (20:25 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 12 Aug 2010 14:38:19 +0000 (16:38 +0200)
commite26672f78661272274580e0653b21017c7c31d4e
treeb806ad84f7dce6d1ffb07d0657f05a9cba30f83f
parent145d6cb05c45f4c0b5b5cee50edff50e518505f1
bridge: Add --dhcp-no-override option to dnsmasq

--dhcp-no-override description from dnsmasq man page:

      Disable  re-use  of  the  DHCP servername and filename fields as
      extra option space. If it can, dnsmasq moves the boot server and
      filename  information  (from  dhcp-boot)  out of their dedicated
      fields into DHCP options. This make extra space available in the
      DHCP  packet  for options but can, rarely, confuse old or broken
      clients. This flag forces "simple and safe" behaviour  to  avoid
      problems in such a case.

It seems some virtual network card ROMs are this old/buggy so let's add
--dhcp-no-override as a workaround for them. We don't use extra DHCP
options so this should be safe. The option was added in dnsmasq-2.41,
which becomes the minimum required version.
libvirt.spec.in
src/network/bridge_driver.c