mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
slirp: Add domainname option to slirp's DHCP server
This patch will allow the user to include the domainname option in replies from the built-in DHCP server. Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
c181ddaa17
commit
f18d137542
7 changed files with 31 additions and 7 deletions
|
@ -160,6 +160,9 @@
|
|||
# @dnssearch: list of DNS suffixes to search, passed as DHCP option
|
||||
# to the guest
|
||||
#
|
||||
# @domainname: guest-visible domain name of the virtual nameserver
|
||||
# (since 2.12)
|
||||
#
|
||||
# @ipv6-prefix: IPv6 network prefix (default is fec0::) (since
|
||||
# 2.6). The network prefix is given in the usual
|
||||
# hexadecimal IPv6 address notation.
|
||||
|
@ -197,6 +200,7 @@
|
|||
'*dhcpstart': 'str',
|
||||
'*dns': 'str',
|
||||
'*dnssearch': ['String'],
|
||||
'*domainname': 'str',
|
||||
'*ipv6-prefix': 'str',
|
||||
'*ipv6-prefixlen': 'int',
|
||||
'*ipv6-host': 'str',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue